Interface ITerminalConsumer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int consume()
      Scan the configured input source for a consumable terminal at the current offset.
      int consume​(java.lang.String feature, boolean isMany, boolean isBoolean, AbstractElement element, ISequenceMatcher notMatching, boolean optional)
      Scan the configured input source for a consumable terminal at the current offset.
      int consume​(ISequenceMatcher notMatching)
      Scan the configured input source for a consumable terminal at the current offset.
      boolean isHidden()  
      void setHidden​(boolean hidden)  
    • Method Detail

      • consume

        int consume​(java.lang.String feature,
                    boolean isMany,
                    boolean isBoolean,
                    AbstractElement element,
                    ISequenceMatcher notMatching,
                    boolean optional)
        Scan the configured input source for a consumable terminal at the current offset. If it can be found, create a configured parsed token and increase the offset of the input.
      • consume

        int consume()
        Scan the configured input source for a consumable terminal at the current offset. If it can be found, do nothing but increase the offset of the input.
      • consume

        int consume​(ISequenceMatcher notMatching)
        Scan the configured input source for a consumable terminal at the current offset. If it can be found, do nothing but increase the offset of the input.
      • setHidden

        void setHidden​(boolean hidden)
      • isHidden

        boolean isHidden()