Load template file into this group using absolute fileName.
(String fileName)
| 634 | /** Load template file into this group using absolute {@code fileName}. */ |
| 635 | |
| 636 | public CompiledST loadAbsoluteTemplateFile(String fileName) { |
| 637 | ANTLRFileStream fs; |
| 638 | try { |
| 639 | fs = new ANTLRFileStream(fileName, encoding); |
| 640 | fs.name = fileName; |
| 641 | } |
| 642 | catch (IOException ioe) { |
| 643 | // doesn't exist |
| 644 | //errMgr.IOError(null, ErrorType.NO_SUCH_TEMPLATE, ioe, fileName); |
| 645 | return null; |
| 646 | } |
| 647 | return loadTemplateFile("", fileName, fs); |
| 648 | } |
| 649 | |
| 650 | /** Load template stream into this group. {@code unqualifiedFileName} is |
| 651 | * {@code "a.st"}. The {@code prefix} is path from group root to |
nothing calls this directly
no test coverage detected