public static void CheckForEachStatement(RangeFinderState s, ForEachStatement a) { CheckToken(s, a.IteratorVariable); CheckAny(s, a.SequenceExpression); CheckAny(s, a.Body); }
public static void CheckIfStatement(RangeFinderState s, IfStatement a) { CheckAny(s, a.ConditionExpr); CheckAny(s, a.IfBranch); CheckAny(s, a.ElseBranch); }
public static void CheckWhileStatement(RangeFinderState s, WhileStatement a) { CheckAny(s, a.ConditionExpr); CheckAny(s, a.Body); }
public static void CheckBreakStatement(RangeFinderState s, BreakStatement a) { CheckToken(s, a.Keyword); }
public static void CheckContinueStatement(RangeFinderState s, ContinueStatement a) { CheckToken(s, a.Keyword); }
public static void CheckExpressionStatement(RangeFinderState s, ExpressionStatement a) { CheckAny(s, a.Expr); }
public static void CheckReturnStatement(RangeFinderState s, ReturnStatement a) { CheckAny(s, a.Expr); }
public static void CheckTypeModifierExpression(RangeFinderState s, TypeModifierExpression a) { CheckToken(s, a.Modifier); CheckAny(s, a.Arg); }
public static void CheckTaggedPointerOptionDef(RangeFinderState s, TaggedPointerOptionDef a) { CheckAny(s, a.Name); }
public static void CheckFieldDef(RangeFinderState s, FieldDef a) { CheckToken(s, a.Name); CheckAny(s, a.Type); }
public static void CheckAttribute(RangeFinderState s, Attribute a) { CheckToken(s, a.Name); CheckList(s, a.Args); }
public static void CheckNamespaceDef(RangeFinderState s, NamespaceDef a) { CheckList(s, a.Contents); }