Package org.antlr.stringtemplate
Interface StringTemplateGroupLoader
- All Known Implementing Classes:
CommonGroupLoader
,PathGroupLoader
public interface StringTemplateGroupLoader
When group files derive from another group, we have to know how to
load that group and its supergroups. This interface also knows how
to load interfaces.
-
Method Summary
Modifier and TypeMethodDescriptionLoad the group called groupName from somewhere.loadGroup
(String groupName, Class templateLexer, StringTemplateGroup superGroup) Specify the template lexer to use for parsing templates.loadGroup
(String groupName, StringTemplateGroup superGroup) Load a group with a specified superGroup.loadInterface
(String interfaceName) Load the interface called interfaceName from somewhere.
-
Method Details
-
loadGroup
Load the group called groupName from somewhere. Return null if no group is found. -
loadGroup
Load a group with a specified superGroup. Groups with region definitions must know their supergroup to find templates during parsing. -
loadGroup
StringTemplateGroup loadGroup(String groupName, Class templateLexer, StringTemplateGroup superGroup) Specify the template lexer to use for parsing templates. If null, it assumes angle brackets invalid input: '<'...>. -
loadInterface
Load the interface called interfaceName from somewhere. Return null if no interface is found.
-