Class 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)  
    • Field Detail

      • 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)