public class GrammarPDAProvider extends java.lang.Object implements IGrammarPDAProvider
Modifier and Type | Class and Description |
---|---|
protected static class |
GrammarPDAProvider.SerializerParserRuleCfg |
protected static class |
GrammarPDAProvider.SerializerParserRuleFollowerFunction |
protected static class |
GrammarPDAProvider.ToOriginal |
Modifier and Type | Field and Description |
---|---|
protected SerializerPDA.SerializerPDAElementFactory |
factory |
protected PdaUtil |
pdaUtil |
Constructor and Description |
---|
GrammarPDAProvider() |
Modifier and Type | Method and Description |
---|---|
protected ISerializationContext |
createContext(ParserRule original,
java.util.Set<Parameter> params) |
protected Pda<ISerState,RuleCall> |
createPDA(Grammar flattened,
ParserRule entryRule) |
java.util.Map<ISerializationContext,Pda<ISerState,RuleCall>> |
getGrammarPDAs(Grammar grammar) |
protected boolean |
isValidRule(ParserRule rule) |
@Inject protected SerializerPDA.SerializerPDAElementFactory factory
@Inject protected PdaUtil pdaUtil
protected ISerializationContext createContext(ParserRule original, java.util.Set<Parameter> params)
protected Pda<ISerState,RuleCall> createPDA(Grammar flattened, ParserRule entryRule)
public java.util.Map<ISerializationContext,Pda<ISerState,RuleCall>> getGrammarPDAs(Grammar grammar)
getGrammarPDAs
in interface IGrammarPDAProvider
protected boolean isValidRule(ParserRule rule)