Lines Matching refs:parser
17 $parser = $this->getParser(new Lexer());
18 $parser->parse('<?php foo');
24 $parser = $this->getParser(new Lexer());
25 $parser->parse('<?php use foo as self;');
31 $parser = $this->getParser(new Lexer());
32 $parser->parse('<?php /*');
49 $parser = $this->getParser($lexer);
50 $stmts = $parser->parse($code);
114 $parser = $this->getParser($lexer);
115 $parser->parse('dummy');
122 $parser = $this->getParser(new Lexer\Emulative());
123 $stmts = $parser->parse("<?php $code;");
184 $parser = $this->getParser(new Lexer\Emulative());
185 $stmts = $parser->parse('<?php list(list($x)) = $y; [[$x]] = $y;');
194 $parser = $this->getParser($lexer);
195 $parser->parse('<?php echo "Foo";');
203 ], $parser->getTokens());