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