public virtual void VisitInitSectionNode(InitSectionNode node) { Visit(node.InitializationKeywordNode); Visit(node.InitializationStatementListNode); Visit(node.FinalizationKeywordNode); Visit(node.FinalizationStatementListNode); Visit(node.EndKeywordNode); }
public UnitNode(Token unitKeywordNode, Token unitNameNode, ListNode<Token> portabilityDirectiveListNode, Token semicolonNode, UnitSectionNode interfaceSectionNode, UnitSectionNode implementationSectionNode, InitSectionNode initSectionNode, Token dotNode) { _unitKeywordNode = unitKeywordNode; _unitNameNode = unitNameNode; _portabilityDirectiveListNode = portabilityDirectiveListNode; _semicolonNode = semicolonNode; _interfaceSectionNode = interfaceSectionNode; _implementationSectionNode = implementationSectionNode; _initSectionNode = initSectionNode; _dotNode = dotNode; }
public ProgramNode(Token programKeywordNode, Token nameNode, Token noiseOpenParenthesisNode, ListNode<DelimitedItemNode<Token>> noiseContentListNode, Token noiseCloseParenthesisNode, Token semicolonNode, UsesClauseNode usesClauseNode, ListNode<AstNode> declarationListNode, InitSectionNode initSectionNode, Token dotNode) { _programKeywordNode = programKeywordNode; _nameNode = nameNode; _noiseOpenParenthesisNode = noiseOpenParenthesisNode; _noiseContentListNode = noiseContentListNode; _noiseCloseParenthesisNode = noiseCloseParenthesisNode; _semicolonNode = semicolonNode; _usesClauseNode = usesClauseNode; _declarationListNode = declarationListNode; _initSectionNode = initSectionNode; _dotNode = dotNode; }