Load template file into this group using absolute fileName.
(String fileName)
| 644 | /** Load template file into this group using absolute {@code fileName}. */ |
| 645 | |
| 646 | public CompiledST loadAbsoluteTemplateFile(String fileName) { |
| 647 | ANTLRFileStream fs; |
| 648 | try { |
| 649 | fs = new ANTLRFileStream(fileName, encoding); |
| 650 | fs.name = fileName; |
| 651 | } |
| 652 | catch (IOException ioe) { |
| 653 | // doesn't exist |
| 654 | //errMgr.IOError(null, ErrorType.NO_SUCH_TEMPLATE, ioe, fileName); |
| 655 | return null; |
| 656 | } |
| 657 | return loadTemplateFile("", fileName, fs); |
| 658 | } |
| 659 | |
| 660 | /** Load template stream into this group. {@code unqualifiedFileName} is |
| 661 | * {@code "a.st"}. The {@code prefix} is path from group root to |
nothing calls this directly
no test coverage detected