Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.csharp.llk.parser
Class LLKToken  view LLKToken download LLKToken.java

java.lang.Object
  extended bycom.port80.eclipse.csharp.llk.parser.LLKToken

public class LLKToken
extends java.lang.Object


Field Summary
 int column
           
 int end
           
 int line
           
 LLKToken next
           
 LLKToken special
           
 int start
           
 java.lang.String text
           
 int type
           
 int value
           
 
Constructor Summary
LLKToken(int type, SourceLocation start, int end)
           
LLKToken(int type, SourceLocation start, int end, int value)
           
LLKToken(int type, SourceLocation start, int end, int value, java.lang.String text)
           
LLKToken(int type, SourceLocation start, int end, java.lang.String text)
           
 
Method Summary
 int getColumn()
           
 int getEnd()
           
 int getLine()
           
 java.lang.String getLocationString()
           
 int getStart()
           
 java.lang.String getText()
           
 int getType()
           
 int getValue()
           
 void setText(java.lang.String s)
           
 void setType(int type)
           
 void setValue(int value)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 java.lang.String toString(java.lang.String[] names)
           
 java.lang.String toString(java.lang.String[] names, char[] source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type

start

public int start

end

public int end

line

public int line

column

public int column

text

public java.lang.String text

value

public int value

next

public LLKToken next

special

public LLKToken special
Constructor Detail

LLKToken

public LLKToken(int type,
                SourceLocation start,
                int end)

LLKToken

public LLKToken(int type,
                SourceLocation start,
                int end,
                java.lang.String text)

LLKToken

public LLKToken(int type,
                SourceLocation start,
                int end,
                int value)

LLKToken

public LLKToken(int type,
                SourceLocation start,
                int end,
                int value,
                java.lang.String text)
Method Detail

getType

public final int getType()

setType

public final void setType(int type)

setValue

public final void setValue(int value)

getValue

public final int getValue()

setText

public final void setText(java.lang.String s)

getText

public final java.lang.String getText()

getStart

public int getStart()

getEnd

public int getEnd()

getLine

public int getLine()

getColumn

public int getColumn()

getLocationString

public java.lang.String getLocationString()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


toString

public java.lang.String toString(java.lang.String[] names)

toString

public java.lang.String toString(java.lang.String[] names,
                                 char[] source)