Esempio n. 1
0
 /**
  * @param RuleNode $astNode
  * @return bool
  */
 public function preVisitRuleNode(RuleNode $astNode)
 {
     $this->visitContext->incrementNodeCount($astNode);
     return true;
 }
Esempio n. 2
0
 /**
  * @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;
 }