Parse doc and fill tree and tokens fields
(String fileName, LangDescriptor language)
| 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 |