MCPcopy Index your code
hub / github.com/antlr/codebuff / parse

Method parse

src/org/antlr/codebuff/Tool.java:306–311  ·  view source on GitHub ↗

Parse doc and fill tree and tokens fields

(String fileName, LangDescriptor language)

Source from the content-addressed store, hash-verified

304 * Parse doc and fill tree and tokens fields
305 */
306 public static InputDocument parse(String fileName, LangDescriptor language)
307 throws Exception
308 {
309 String content = load(fileName, language.indentSize);
310 return parse(fileName, content, language);
311 }
312
313 public static InputDocument parse(String fileName, String content, LangDescriptor language)
314 throws Exception

Callers 5

dupMethod · 0.95
formatMethod · 0.95
loadMethod · 0.95
mainMethod · 0.95

Calls 7

loadMethod · 0.95
getLexerMethod · 0.95
getParserMethod · 0.95
setTreeMethod · 0.95
invokeMethod · 0.45
getCauseMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected