Пример #1
0
 public static void CheckForEachStatement(RangeFinderState s, ForEachStatement a)
 {
     CheckToken(s, a.IteratorVariable);
     CheckAny(s, a.SequenceExpression);
     CheckAny(s, a.Body);
 }
Пример #2
0
 public static void CheckIfStatement(RangeFinderState s, IfStatement a)
 {
     CheckAny(s, a.ConditionExpr);
     CheckAny(s, a.IfBranch);
     CheckAny(s, a.ElseBranch);
 }
Пример #3
0
 public static void CheckWhileStatement(RangeFinderState s, WhileStatement a)
 {
     CheckAny(s, a.ConditionExpr);
     CheckAny(s, a.Body);
 }
Пример #4
0
 public static void CheckBreakStatement(RangeFinderState s, BreakStatement a)
 {
     CheckToken(s, a.Keyword);
 }
Пример #5
0
 public static void CheckContinueStatement(RangeFinderState s, ContinueStatement a)
 {
     CheckToken(s, a.Keyword);
 }
Пример #6
0
 public static void CheckExpressionStatement(RangeFinderState s, ExpressionStatement a)
 {
     CheckAny(s, a.Expr);
 }
Пример #7
0
 public static void CheckReturnStatement(RangeFinderState s, ReturnStatement a)
 {
     CheckAny(s, a.Expr);
 }
Пример #8
0
 public static void CheckTypeModifierExpression(RangeFinderState s, TypeModifierExpression a)
 {
     CheckToken(s, a.Modifier);
     CheckAny(s, a.Arg);
 }
Пример #9
0
 public static void CheckTaggedPointerOptionDef(RangeFinderState s, TaggedPointerOptionDef a)
 {
     CheckAny(s, a.Name);
 }
Пример #10
0
 public static void CheckFieldDef(RangeFinderState s, FieldDef a)
 {
     CheckToken(s, a.Name);
     CheckAny(s, a.Type);
 }
Пример #11
0
 public static void CheckAttribute(RangeFinderState s, Attribute a)
 {
     CheckToken(s, a.Name);
     CheckList(s, a.Args);
 }
Пример #12
0
 public static void CheckNamespaceDef(RangeFinderState s, NamespaceDef a)
 {
     CheckList(s, a.Contents);
 }