Package org.intellij.grammar.generator
Class RuleGraphHelper
java.lang.Object
org.intellij.grammar.generator.RuleGraphHelper
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRuleGraphHelper(BnfFile file) RuleGraphHelper(BnfFile file, com.intellij.util.containers.MultiMap<BnfRule, BnfRule> ruleExtendsMap) -
Method Summary
Modifier and TypeMethodDescriptionbuildExtendsMap(BnfFile file) booleancanCollapse(@NotNull BnfRule rule) static KnownAttribute.ListValuecomputeTokens(BnfFile file) booleancontainsTokens(BnfRule rule) static RuleGraphHelperstatic StringgetCardinalityText(RuleGraphHelper.Cardinality cardinality) getExtendsRules(BnfRule rule) getFile()@NotNull Map<com.intellij.psi.PsiElement,RuleGraphHelper.Cardinality> getSubRules(BnfRule rule) static BnfRulegetTokenNameToTextMap(BnfFile file) getTokenTextToNameMap(BnfFile file) static booleanhasElementType(BnfRule rule) static booleanhasPsiClass(BnfRule rule) static booleanisPrivateOrNoType(BnfRule rule)
-
Constructor Details
-
RuleGraphHelper
-
RuleGraphHelper
-
-
Method Details
-
getCardinalityText
-
buildExtendsMap
-
getTokenNameToTextMap
-
getTokenTextToNameMap
-
computeTokens
-
getCached
-
getRuleExtendsMap
-
getFile
-
canCollapse
-
getExtendsRules
-
containsTokens
-
getSubRules
-
getFor
@NotNull public @NotNull Map<com.intellij.psi.PsiElement,RuleGraphHelper.Cardinality> getFor(BnfRule rule) -
getSynonymTargetOrSelf
-
hasPsiClass
-
hasElementType
-
isPrivateOrNoType
-