Exemple #1
0
 /**
  * @dataProvider provideTestCreate
  */
 public function testCreate($expected, $string)
 {
     $this->assertEquals($expected, PHPParser_Node_Scalar_String::create($string)->value);
 }
Exemple #2
0
 protected function yyn285($line, $docComment)
 {
     $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->yysp - (1 - 1)], $line, $docComment);
 }
Exemple #3
0
 protected function yyn307($attributes)
 {
     $this->yyval = PHPParser_Node_Scalar_String::create($this->yyastk[$this->stackPos - (1 - 1)], $attributes);
 }