示例#1
0
 /// <summary>
 /// Creates a clause with the span defined by the passed context
 /// </summary>
 /// <param name="context">Parser rule context</param>
 protected TestOptionNodeBase(ParserRuleContext context) : base(context)
 {
     OptionKeywordSpan = context.CreateSpan(0);
 }
示例#2
0
 /// <summary>
 /// Creates a clause with the span defined by the passed context
 /// </summary>
 /// <param name="context">Parser rule context</param>
 public AssignmentsNode(ParserRuleContext context) : base(context)
 {
     KeywordSpan = context.CreateSpan(0);
     Assignments = new List <AssignmentNode>();
 }