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

com.jogamp.gluegen.cgram.CToken Maven / Gradle / Ivy

There is a newer version: 2.3.2
Show newest version
package com.jogamp.gluegen.cgram;

import antlr.CommonToken;

public class CToken extends antlr.CommonToken {
  String source = "";
  int tokenNumber;

  public String getSource()
  {
    return source;
  }

  public void setSource(String src)
  {
    source = src;
  }

  public int getTokenNumber()
  {
    return tokenNumber;
  }

  public void setTokenNumber(int i)
  {
    tokenNumber = i;
  }

    @Override
    public String toString() {
        return "CToken:" +"(" + hashCode() + ")" + "[" + getType() + "] "+ getText() + " line:" + getLine() + " source:" + source ;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy