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