Package org.intellij.grammar.generator
Class RuleMethodsHelper
java.lang.Object
org.intellij.grammar.generator.RuleMethodsHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionRuleMethodsHelper(RuleGraphHelper ruleGraphHelper, ExpressionHelper expressionHelper, Map<String, String> simpleTokens, GenOptions genOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildMaps(Collection<BnfRule> sortedPsiRules) protected voidcalcMethods(BnfRule rule, Map<String, String> tokensReversed) @NotNull Collection<RuleMethodsHelper.MethodInfo>@Nullable RuleMethodsHelper.MethodInfogetMethodInfo(@NotNull BnfRule rule, String name) @Nullable Collection<String>getMethodNames(@NotNull BnfRule rule)
-
Constructor Details
-
RuleMethodsHelper
public RuleMethodsHelper(RuleGraphHelper ruleGraphHelper, ExpressionHelper expressionHelper, Map<String, String> simpleTokens, GenOptions genOptions)
-
-
Method Details
-
buildMaps
-
getFor
@NotNull public @NotNull Collection<RuleMethodsHelper.MethodInfo> getFor(@NotNull @NotNull BnfRule rule) -
getMethodInfo
@Nullable public @Nullable RuleMethodsHelper.MethodInfo getMethodInfo(@NotNull @NotNull BnfRule rule, String name) -
getMethodNames
-
calcMethods
-