Package org.intellij.grammar.generator
Class ParserGeneratorUtil.PinMatcher
- java.lang.Object
-
- org.intellij.grammar.generator.ParserGeneratorUtil.PinMatcher
-
- Enclosing class:
- ParserGeneratorUtil
public static class ParserGeneratorUtil.PinMatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PinMatcher(BnfRule rule, com.intellij.psi.tree.IElementType type, java.lang.String funcName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanactive()booleanmatches(int i, BnfExpression child)booleanshouldGenerate(java.util.List<BnfExpression> children)
-
-
-
Field Detail
-
rule
public final BnfRule rule
-
funcName
public final java.lang.String funcName
-
pinValue
public final java.lang.Object pinValue
-
-
Constructor Detail
-
PinMatcher
public PinMatcher(BnfRule rule, com.intellij.psi.tree.IElementType type, java.lang.String funcName)
-
-
Method Detail
-
active
public boolean active()
-
matches
public boolean matches(int i, BnfExpression child)
-
shouldGenerate
public boolean shouldGenerate(java.util.List<BnfExpression> children)
-
-