コード例 #1
0
ファイル: StringTest.php プロジェクト: willstorm/cms
 /**
  * @dataProvider provideTestCreate
  */
 public function testCreate($expected, $string)
 {
     $this->assertEquals($expected, PHPParser_Node_Scalar_String::create($string)->value);
 }
コード例 #2
0
ファイル: Parser.php プロジェクト: runekaagaard/PHP-Parser
 protected function yyn285($line, $docComment)
 {
     $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->yysp - (1 - 1)], $line, $docComment);
 }
コード例 #3
0
ファイル: Parser.php プロジェクト: rmoorman/PHP-Parser
 protected function yyn307($attributes)
 {
     $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->stackPos - (1 - 1)], $attributes);
 }