public class TypedNonTerminal<TAstNode> : TypedNonTerminal<MyAstContext,TAstNode> 
      where TAstNode : AstNode<MyAstContext>{
   }
// NB: Node description in Grammar Explorer tree-view automatically // generated by stripping "AstNode" from GetType().Name. public class ExpressionAstNode : AstNode<MyAstContext> {} public class StatementAstNode : AstNode<MyAstContext> {} public class StatementListAstNode : ListNode<MyAstContext> {}

Last edited Nov 7, 2012 at 6:17 PM by pgeerkens, version 7

Comments

No comments yet.