Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package antlr;
 
 public class TokenWithIndex extends CommonToken
 {
   int index;
 
   public TokenWithIndex()
   {
   }
  public TokenWithIndex(int paramIntString paramString)
  {
    super(paramInt, paramString);
  }
  public void setIndex(int paramInt)
  {
    this.index = paramInt;
  }
  public int getIndex()
  {
    return this.index;
  }
  public String toString()
  {
    return "[" + this.index + ":\"" + getText() + "\",<" + getType() + ">,line=" + this.line + ",col=" + this.col + "]\n";
  }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     antlr.TokenWithIndex
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X