Top Description Methods
org.antlr.stringtemplate

public Interface StringTemplateGroupLoader

Known Direct Implementers
org.antlr.stringtemplate.PathGroupLoader

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 TypeMethod and Description
public StringTemplateGroup
loadGroup(String groupName)

Load the group called groupName from somewhere.

public StringTemplateGroup
loadGroup(String groupName, StringTemplateGroup superGroup)

Load a group with a specified superGroup.

public StringTemplateGroup
loadGroup(String groupName, Class<T> templateLexer, StringTemplateGroup superGroup)

Specify the template lexer to use for parsing templates.

public StringTemplateGroupInterface
loadInterface(String interfaceName)

Load the interface called interfaceName from somewhere.

Method Detail

loadGroupback to summary
public StringTemplateGroup loadGroup(String groupName)

Load the group called groupName from somewhere. Return null if no group is found.

loadGroupback to summary
public StringTemplateGroup loadGroup(String groupName, StringTemplateGroup superGroup)

Load a group with a specified superGroup. Groups with region definitions must know their supergroup to find templates during parsing.

loadGroupback to summary
public StringTemplateGroup loadGroup(String groupName, Class<T> templateLexer, StringTemplateGroup superGroup)

Specify the template lexer to use for parsing templates. If null, it assumes angle brackets <...>.

loadInterfaceback to summary
public StringTemplateGroupInterface loadInterface(String interfaceName)

Load the interface called interfaceName from somewhere. Return null if no interface is found.