Package org.intellij.grammar.generator
Class RuleMethodsHelper
- java.lang.Object
-
- org.intellij.grammar.generator.RuleMethodsHelper
-
public class RuleMethodsHelper extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleMethodsHelper.MethodInfostatic classRuleMethodsHelper.MethodType
-
Constructor Summary
Constructors Constructor Description RuleMethodsHelper(RuleGraphHelper ruleGraphHelper, ExpressionHelper expressionHelper, java.util.Map<java.lang.String,java.lang.String> simpleTokens, GenOptions genOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildMaps(java.util.Collection<BnfRule> sortedPsiRules)protected voidcalcMethods(BnfRule rule, java.util.Map<java.lang.String,java.lang.String> tokensReversed)@NotNull java.util.Collection<RuleMethodsHelper.MethodInfo>getFor(@NotNull BnfRule rule)@Nullable RuleMethodsHelper.MethodInfogetMethodInfo(@NotNull BnfRule rule, java.lang.String name)@Nullable java.util.Collection<java.lang.String>getMethodNames(@NotNull BnfRule rule)
-
-
-
Constructor Detail
-
RuleMethodsHelper
public RuleMethodsHelper(RuleGraphHelper ruleGraphHelper, ExpressionHelper expressionHelper, java.util.Map<java.lang.String,java.lang.String> simpleTokens, GenOptions genOptions)
-
-
Method Detail
-
buildMaps
public void buildMaps(java.util.Collection<BnfRule> sortedPsiRules)
-
getFor
@NotNull public @NotNull java.util.Collection<RuleMethodsHelper.MethodInfo> getFor(@NotNull @NotNull BnfRule rule)
-
getMethodInfo
@Nullable public @Nullable RuleMethodsHelper.MethodInfo getMethodInfo(@NotNull @NotNull BnfRule rule, java.lang.String name)
-
getMethodNames
@Nullable public @Nullable java.util.Collection<java.lang.String> getMethodNames(@NotNull @NotNull BnfRule rule)
-
calcMethods
protected void calcMethods(BnfRule rule, java.util.Map<java.lang.String,java.lang.String> tokensReversed)
-
-