NonterminalCountingVisitor Class

Definition

Line 22 of scmpg/NonterminalInfo.cm

Inheritance

Constructors & Destructor

public NonterminalCountingVisitor(List<NonterminalInfo>& nonterminalInfos_)

Member Functions

public override void Visit(AddNode& addNode)
public override void Visit(AddrOfNode& addrOfNode)
public override void Visit(ArrayNode& arrayNode)
public override void Visit(ArrowNode& arrowNode)
public override void Visit(AsNode& asNode)
public override void Visit(AssertStatementNode& assertStatementNode)
public override void Visit(AssignmentStatementNode& assignmentStatementNode)
public override void Visit(BitAndNode& bitAndNode)
public override void Visit(BitOrNode& bitOrNode)
public override void Visit(BitXorNode& bitXorNode)
public override void Visit(BreakStatementNode& breakStatementNode)
public override void Visit(CaseStatementNode& caseStatementNode)
public override void Visit(CastNode& castNode)
public override void Visit(CatchNode& catchNode)
public override void Visit(ComplementNode& complementNode)
public override void Visit(CompoundStatementNode& compoundStatementNode)
public override void Visit(ConditionalCompilationConjunctionNode& conditionalCompilationConjunctionNode)
public override void Visit(ConditionalCompilationDisjunctionNode& conditionalCompilationDisjunctionNode)
public override void Visit(ConditionalCompilationNotNode& conditionalCompilationNotNode)
public override void Visit(ConditionalCompilationPartNode& conditionalCompilationPartNode)
public override void Visit(ConditionalCompilationPrimaryNode& conditionalCompilationPrimaryNode)
public override void Visit(ConditionalCompilationStatementNode& conditionalCompilationStatementNode)
public override void Visit(ConjunctionNode& conjunctionNode)
public override void Visit(ConstNode& constNode)
public override void Visit(ConstructNode& constructNode)
public override void Visit(ConstructionStatementNode& constructionStatementNode)
public override void Visit(ContinueStatementNode& continueStatementNode)
public override void Visit(DefaultStatementNode& defaultStatementNode)
public override void Visit(DeleteStatementNode& deleteStatementNode)
public override void Visit(DerefNode& derefNode)
public override void Visit(DestroyStatementNode& destroyStatementNode)
public override void Visit(DisjunctionNode& disjunctionNode)
public override void Visit(DivNode& divNode)
public override void Visit(DoStatementNode& doStatementNode)
public override void Visit(DotNode& dotNode)
public override void Visit(EmptyStatementNode& emptyStatementNode)
public override void Visit(EqualNode& equalNode)
public override void Visit(EquivalenceNode& equivalenceNode)
public override void Visit(ExpressionStatementNode& expressionStatementNode)
public override void Visit(ForStatementNode& forStatementNode)
public override void Visit(GotoCaseStatementNode& gotoCaseStatementNode)
public override void Visit(GotoDefaultStatementNode& gotoDefaultStatementNode)
public override void Visit(GotoStatementNode& gotoStatementNode)
public override void Visit(GreaterNode& greaterNode)
public override void Visit(GreaterOrEqualNode& greaterOrEqualNode)
public void Visit(IdentifierNode& node)
public override void Visit(IfStatementNode& ifStatementNode)
public override void Visit(ImplicationNode& implicationNode)
public override void Visit(IndexingNode& indexingNode)
public override void Visit(InvokeNode& invokeNode)
public override void Visit(IsNode& isNode)
public override void Visit(LValueRefNode& lvalueRefNode)
public override void Visit(LabeledStatementNode& labeledStatementNode)
public override void Visit(LessNode& lessNode)
public override void Visit(LessOrEqualNode& lessOrEqualNode)
public override void Visit(MulNode& mulNode)
public override void Visit(NewNode& newNode)
public override void Visit(NotEqualNode& notEqualNode)
public override void Visit(NotNode& notNode)
public override void Visit(ParenthesizedConditionalCompilationExpressionNode& parenthesizeCondCompExprNode)
public override void Visit(ParenthesizedExpressionNode& parenthesizedExpressionNode)
public override void Visit(PointerNode& pointerNode)
public override void Visit(PostfixDecrementNode& postfixDecrementNode)
public override void Visit(PostfixIncrementNode& postfixIncrementNode)
public override void Visit(PrefixDecrementNode& prefixDecrementNode)
public override void Visit(PrefixIncrementNode& prefixIncrementNode)
public override void Visit(RValueRefNode& rvalueRefNode)
public override void Visit(RangeForStatementNode& rangeForStatementNode)
public override void Visit(RemNode& remNode)
public override void Visit(ReturnStatementNode& returnStatementNode)
public override void Visit(ShiftLeftNode& shiftLeftNode)
public override void Visit(ShiftRightNode& shiftRightNode)
public override void Visit(SizeOfNode& sizeOfNode)
public override void Visit(SubNode& subNode)
public override void Visit(SwitchStatementNode& switchStatementNode)
public override void Visit(ThrowStatementNode& throwStatementNode)
public override void Visit(TryStatementNode& tryStatementNode)
public override void Visit(TypeIdNode& typeIdNode)
public override void Visit(TypeNameNode& typeNameNode)
public override void Visit(UnaryMinusNode& unaryMinusNode)
public override void Visit(UnaryPlusNode& unaryPlusNode)
public override void Visit(WhileStatementNode& whileStatementNode)

Member Variables

private List<NonterminalInfo>& nonterminalInfos

Constructor& Destructor Details

NonterminalCountingVisitor Constructor

public NonterminalCountingVisitor(List<NonterminalInfo>& nonterminalInfos_)

Definition
Line 24 of scmpg/NonterminalInfo.cm


Member Function Details

Visit Member Function

public override void Visit(AddNode& addNode)

Definition
Line 349 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(AddrOfNode& addrOfNode)

Definition
Line 398 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ArrayNode& arrayNode)

Definition
Line 256 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ArrowNode& arrowNode)

Definition
Line 269 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(AsNode& asNode)

Definition
Line 411 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(AssertStatementNode& assertStatementNode)

Definition
Line 193 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(AssignmentStatementNode& assignmentStatementNode)

Definition
Line 114 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(BitAndNode& bitAndNode)

Definition
Line 304 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(BitOrNode& bitOrNode)

Definition
Line 294 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(BitXorNode& bitXorNode)

Definition
Line 299 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(BreakStatementNode& breakStatementNode)

Definition
Line 87 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(CaseStatementNode& caseStatementNode)

Definition
Line 146 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(CastNode& castNode)

Definition
Line 450 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(CatchNode& catchNode)

Definition
Line 187 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ComplementNode& complementNode)

Definition
Line 402 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(CompoundStatementNode& compoundStatementNode)

Definition
Line 46 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationConjunctionNode& conditionalCompilationConjunctionNode)

Definition
Line 211 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationDisjunctionNode& conditionalCompilationDisjunctionNode)

Definition
Line 206 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationNotNode& conditionalCompilationNotNode)

Definition
Line 216 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationPartNode& conditionalCompilationPartNode)

Definition
Line 197 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationPrimaryNode& conditionalCompilationPrimaryNode)

Definition
Line 220 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConditionalCompilationStatementNode& conditionalCompilationStatementNode)

Definition
Line 227 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConjunctionNode& conjunctionNode)

Definition
Line 289 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConstNode& constNode)

Definition
Line 240 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConstructNode& constructNode)

Definition
Line 455 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ConstructionStatementNode& constructionStatementNode)

Definition
Line 96 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ContinueStatementNode& continueStatementNode)

Definition
Line 90 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DefaultStatementNode& defaultStatementNode)

Definition
Line 159 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DeleteStatementNode& deleteStatementNode)

Definition
Line 106 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DerefNode& derefNode)

Definition
Line 394 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DestroyStatementNode& destroyStatementNode)

Definition
Line 110 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DisjunctionNode& disjunctionNode)

Definition
Line 284 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DivNode& divNode)

Definition
Line 364 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DoStatementNode& doStatementNode)

Definition
Line 72 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(DotNode& dotNode)

Definition
Line 264 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(EmptyStatementNode& emptyStatementNode)

Definition
Line 123 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(EqualNode& equalNode)

Definition
Line 309 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(EquivalenceNode& equivalenceNode)

Definition
Line 274 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ExpressionStatementNode& expressionStatementNode)

Definition
Line 119 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ForStatementNode& forStatementNode)

Definition
Line 77 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(GotoCaseStatementNode& gotoCaseStatementNode)

Definition
Line 167 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(GotoDefaultStatementNode& gotoDefaultStatementNode)

Definition
Line 171 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(GotoStatementNode& gotoStatementNode)

Definition
Line 93 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(GreaterNode& greaterNode)

Definition
Line 324 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(GreaterOrEqualNode& greaterOrEqualNode)

Definition
Line 334 of scmpg/NonterminalInfo.cm


Visit Member Function

public void Visit(IdentifierNode& node)

Definition
Line 28 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(IfStatementNode& ifStatementNode)

Definition
Line 58 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ImplicationNode& implicationNode)

Definition
Line 279 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(IndexingNode& indexingNode)

Definition
Line 416 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(InvokeNode& invokeNode)

Definition
Line 421 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(IsNode& isNode)

Definition
Line 406 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(LValueRefNode& lvalueRefNode)

Definition
Line 244 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(LabeledStatementNode& labeledStatementNode)

Definition
Line 42 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(LessNode& lessNode)

Definition
Line 319 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(LessOrEqualNode& lessOrEqualNode)

Definition
Line 329 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(MulNode& mulNode)

Definition
Line 359 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(NewNode& newNode)

Definition
Line 464 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(NotEqualNode& notEqualNode)

Definition
Line 314 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(NotNode& notNode)

Definition
Line 374 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ParenthesizedConditionalCompilationExpressionNode& parenthesizeCondCompExprNode)

Definition
Line 223 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ParenthesizedExpressionNode& parenthesizedExpressionNode)

Definition
Line 473 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(PointerNode& pointerNode)

Definition
Line 252 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(PostfixDecrementNode& postfixDecrementNode)

Definition
Line 434 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(PostfixIncrementNode& postfixIncrementNode)

Definition
Line 430 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(PrefixDecrementNode& prefixDecrementNode)

Definition
Line 390 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(PrefixIncrementNode& prefixIncrementNode)

Definition
Line 386 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(RValueRefNode& rvalueRefNode)

Definition
Line 248 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(RangeForStatementNode& rangeForStatementNode)

Definition
Line 126 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(RemNode& remNode)

Definition
Line 369 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ReturnStatementNode& returnStatementNode)

Definition
Line 54 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ShiftLeftNode& shiftLeftNode)

Definition
Line 339 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ShiftRightNode& shiftRightNode)

Definition
Line 344 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(SizeOfNode& sizeOfNode)

Definition
Line 438 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(SubNode& subNode)

Definition
Line 354 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(SwitchStatementNode& switchStatementNode)

Definition
Line 133 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(ThrowStatementNode& throwStatementNode)

Definition
Line 174 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(TryStatementNode& tryStatementNode)

Definition
Line 178 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(TypeIdNode& typeIdNode)

Definition
Line 446 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(TypeNameNode& typeNameNode)

Definition
Line 442 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(UnaryMinusNode& unaryMinusNode)

Definition
Line 382 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(UnaryPlusNode& unaryPlusNode)

Definition
Line 378 of scmpg/NonterminalInfo.cm


Visit Member Function

public override void Visit(WhileStatementNode& whileStatementNode)

Definition
Line 67 of scmpg/NonterminalInfo.cm