Class GrammarPDAProvider
- java.lang.Object
-
- org.eclipse.xtext.serializer.analysis.GrammarPDAProvider
-
- All Implemented Interfaces:
IGrammarPDAProvider
public class GrammarPDAProvider extends java.lang.Object implements IGrammarPDAProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
GrammarPDAProvider.SerializerParserRuleCfg
protected static class
GrammarPDAProvider.SerializerParserRuleFollowerFunction
protected static class
GrammarPDAProvider.ToOriginal
-
Field Summary
Fields Modifier and Type Field Description protected SerializerPDA.SerializerPDAElementFactory
factory
protected org.eclipse.xtext.util.formallang.PdaUtil
pdaUtil
-
Constructor Summary
Constructors Constructor Description GrammarPDAProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ISerializationContext
createContext(ParserRule original, java.util.Set<Parameter> params)
protected org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall>
createPDA(Grammar flattened, ParserRule entryRule)
SerializationContextMap<org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall>>
getGrammarPDAs(Grammar grammar)
protected boolean
isValidRule(ParserRule rule)
-
-
-
Field Detail
-
factory
@Inject protected SerializerPDA.SerializerPDAElementFactory factory
-
pdaUtil
@Inject protected org.eclipse.xtext.util.formallang.PdaUtil pdaUtil
-
-
Method Detail
-
createContext
protected ISerializationContext createContext(ParserRule original, java.util.Set<Parameter> params)
-
createPDA
protected org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall> createPDA(Grammar flattened, ParserRule entryRule)
-
getGrammarPDAs
public SerializationContextMap<org.eclipse.xtext.util.formallang.Pda<ISerState,RuleCall>> getGrammarPDAs(Grammar grammar)
- Specified by:
getGrammarPDAs
in interfaceIGrammarPDAProvider
-
isValidRule
protected boolean isValidRule(ParserRule rule)
-
-