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

Quick Search    Search Deep

alice.tuprolog
Class Token  view Token download Token.java

java.lang.Object
  extended byalice.tuprolog.Token
All Implemented Interfaces:
java.io.Serializable

class Token
extends java.lang.Object
implements java.io.Serializable

represents a token read by the prolog term tokenizer


Field Summary
(package private)  java.lang.String seq
           
(package private)  int type
           
 
Constructor Summary
Token(java.lang.String seq_, int type_)
           
 
Method Summary
 int getAttribute()
          attribute could be EOF or ERROR
 int getType()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seq

java.lang.String seq

type

int type
Constructor Detail

Token

public Token(java.lang.String seq_,
             int type_)
Method Detail

getType

public int getType()

getAttribute

public int getAttribute()
attribute could be EOF or ERROR


getValue

public java.lang.String getValue()