private function classNameScalar($class_name, $colon_node) {
    $node = new ClassNameScalarNode();
    $node->addChild($class_name, 'className');
    $node->mergeNode($colon_node);
    $this->mustMatch(T_CLASS, $node, NULL, TRUE);
    return $node;
  }
private function classNameScalar($class_name, $colon_node) {
    $node = new ClassNameScalarNode();
    $node->addChild($class_name, 'className');
    $node->mergeNode($colon_node);
    $this->mustMatch(T_CLASS, $node, NULL, TRUE);
    return $node;
  }
private function classNameScalar ( $ class_name , $ colon_node ) { $ node = new ClassNameScalarNode ( ) ; $ node -> addChild ( $ class_name , 'className' ) ; $ node -> mergeNode ( $ colon_node ) ; $ this -> mustMatch ( T_CLASS , $ node , NULL , TRUE ) ; return $ node ; }
Construct a class name scalar.
@param $class_name
@param $colon_node
@return ClassNameScalarNode
Construct a class name scalar .