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