/** * @param RuleNode $astNode * @return bool */ public function preVisitRuleNode(RuleNode $astNode) { $this->visitContext->incrementNodeCount($astNode); return true; }
/** * @param SyntaxNode $astNode * @return bool */ public function preVisitSyntaxNode(SyntaxNode $astNode) { $this->dotWriter->startGraph(); $this->visitContext->incrementNodeCount($astNode); return true; }
/** * @param SpecialSequenceNode $astNode * @return bool */ public function preVisitSpecialSequenceNode(SpecialSequenceNode $astNode) { $this->visitContext->incrementNodeCount($astNode); return true; }
/** * @param IdentifierNode $astNode * @return bool */ public function preVisitIdentifierNode(IdentifierNode $astNode) { $this->visitContext->incrementNodeCount($astNode); return true; }