示例#1
0
 /**
  * Parses a static identifier expression, as it is used for method and
  * function names.
  *
  * @return PHP_Depend_Code_ASTIdentifier
  * @since 0.9.12
  */
 protected function parseIdentifier()
 {
     $token = $this->consumeToken(self::T_STRING);
     $node = $this->builder->buildAstIdentifier($token->image);
     $node->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn);
     return $node;
 }