public interface Grammar extends java.lang.Iterable<Statement>
Modifier and Type | Method and Description |
---|---|
void |
addReservedWord(java.lang.String id) |
void |
addStatement(Statement statement) |
Statement |
createStatement(java.lang.String name) |
Statement |
getApplicableStatement(Statement.StatementContext context) |
java.lang.String |
getName() |
java.util.List<Statement> |
getStatements() |
boolean |
isReservedWord(java.lang.String id) |
java.util.Iterator<Statement> |
iterator() |
java.lang.String getName()
java.util.List<Statement> getStatements()
Statement createStatement(java.lang.String name)
void addStatement(Statement statement)
Statement getApplicableStatement(Statement.StatementContext context)
void addReservedWord(java.lang.String id)
boolean isReservedWord(java.lang.String id)