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 classGrammarPDAProvider.SerializerParserRuleCfgprotected static classGrammarPDAProvider.SerializerParserRuleFollowerFunctionprotected static classGrammarPDAProvider.ToOriginal
-
Field Summary
Fields Modifier and Type Field Description protected SerializerPDA.SerializerPDAElementFactoryfactoryprotected org.eclipse.xtext.util.formallang.PdaUtilpdaUtil
-
Constructor Summary
Constructors Constructor Description GrammarPDAProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ISerializationContextcreateContext(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 booleanisValidRule(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:
getGrammarPDAsin interfaceIGrammarPDAProvider
-
isValidRule
protected boolean isValidRule(ParserRule rule)
-
-