Beispiel #1
0
 /// <summary>
 /// Creates a clause with the span defined by the passed context
 /// </summary>
 /// <param name="context">Parser rule context</param>
 /// <param name="expr">Value node expression</param>
 public ValueMemberNode(Z80TestParser.ValueDefContext context, ExpressionNode expr) : base(context)
 {
     IdSpan = new TextSpan(context.IDENTIFIER());
     Id     = context.IDENTIFIER()?.GetText();
     Expr   = expr;
 }