Class TreePatternLexer

java.lang.Object
org.antlr.runtime.tree.TreePatternLexer

public class TreePatternLexer extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    protected int
    Current char
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    boolean
     
    static final int
     
    protected int
    How long is the pattern in char?
    protected int
    Index into input string
    protected String
    The tree pattern to lex like "(A B C)"
    static final int
     
    Set when token type is ID or ARG (name mimics Java's StreamTokenizer)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TreePatternLexer

      public TreePatternLexer(String pattern)
  • Method Details

    • nextToken

      public int nextToken()
    • consume

      protected void consume()