All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.parser.IParserState Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.parser;

public interface IParserState
{
  /**
    * @return the line number of this parser state
    */
  int getLineNumber();

  /**
    * @return the column represented by this parser state
    */
  int getTokenColumn();

  /**
    * @return the program source associated with this parser state
    */
  String getSource();

  /**
    * @return the start of the token represented by this parser state
    */
  int getTokenStart();

  /**
    * @return the end of the token represented by this parser state
    */
  int getTokenEnd();

  /**
    * @return the starting line of this parser state
    */
  int getLineOffset();

  IParserState cloneWithNewTokenStartAndTokenEnd(int newTokenStart, int newLength);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy