fr.umlv.tatoo.cc.parser.grammar
Class EBNFSupport
java.lang.Object
fr.umlv.tatoo.cc.parser.grammar.EBNFSupport
public class EBNFSupport
- extends Object
Field Summary |
boolean |
debug
|
Method Summary |
NonTerminalDecl |
createAnonymousNonTerminal(List<? extends VariableDecl> vars,
VersionDecl version)
|
NonTerminalDecl |
createOptionnalNonTerminal(String id,
VariableDecl element,
VersionDecl version)
|
NonTerminalDecl |
createStarNonTerminal(String id,
VariableDecl element,
Priority.Associativity assoc,
VersionDecl version,
boolean isStar,
VariableDecl separator)
|
Map<ProductionDecl,? extends EBNFSyntheticType> |
getEBNFTypeMap()
|
Map<NonTerminalDecl,? extends EBNFSupport.StarDesc> |
getStarDescMap()
|
Set<? extends NonTerminalDecl> |
getStarNonTerminals()
|
void |
processASTEBNFType(Map<VariableDecl,Type> variableTypeMap)
|
void |
processEBNFType(Map<VariableDecl,Type> variableTypeMap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public boolean debug
EBNFSupport
public EBNFSupport(GrammarFactory factory)
getEBNFTypeMap
public Map<ProductionDecl,? extends EBNFSyntheticType> getEBNFTypeMap()
getStarDescMap
public Map<NonTerminalDecl,? extends EBNFSupport.StarDesc> getStarDescMap()
getStarNonTerminals
public Set<? extends NonTerminalDecl> getStarNonTerminals()
createAnonymousNonTerminal
public NonTerminalDecl createAnonymousNonTerminal(List<? extends VariableDecl> vars,
VersionDecl version)
createOptionnalNonTerminal
public NonTerminalDecl createOptionnalNonTerminal(String id,
VariableDecl element,
VersionDecl version)
createStarNonTerminal
public NonTerminalDecl createStarNonTerminal(String id,
VariableDecl element,
Priority.Associativity assoc,
VersionDecl version,
boolean isStar,
VariableDecl separator)
processEBNFType
public void processEBNFType(Map<VariableDecl,Type> variableTypeMap)
processASTEBNFType
public void processASTEBNFType(Map<VariableDecl,Type> variableTypeMap)