예제 #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);
 }