Lines Matching refs:parser
15 Each target language for ANTLR has a runtime package for running parser
16 generated by ANTLR4. The runtime provides a common set of tools for using your parser.
24 #### 3. Generate your parser
26 You use the ANTLR4 "tool" to generate a parser. These will reference the ANTLR
31 To generate your PHP parser, run the following command:
45 collection of `.php` files in the `parser` directory including:
57 We'll write a small main func to call the generated parser/lexer
88 $parser = new JSONParser($tokens);
89 $parser->addErrorListener(new DiagnosticErrorListener());
90 $parser->setBuildParseTree(true);
91 $tree = $parser->json();