JET

edu.utep.cs.jet.gui.editor.syn
Class TokenMarker.LineInfo

java.lang.Object
  extended by edu.utep.cs.jet.gui.editor.syn.TokenMarker.LineInfo
Enclosing class:
TokenMarker

public class TokenMarker.LineInfo
extends Object

Inner class for storing information about tokenized lines.


Field Summary
 Object obj
          This is for use by the token marker implementations themselves.
 byte token
          The id of the last token of the line.
 
Constructor Summary
TokenMarker.LineInfo()
          Creates a new LineInfo object with token = Token.NULL and obj = null.
TokenMarker.LineInfo(byte token, Object obj)
          Creates a new LineInfo object with the specified parameters.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

public byte token
The id of the last token of the line.


obj

public Object obj
This is for use by the token marker implementations themselves. It can be used to store anything that is an object and that needs to exist on a per-line basis.

Constructor Detail

TokenMarker.LineInfo

public TokenMarker.LineInfo()
Creates a new LineInfo object with token = Token.NULL and obj = null.


TokenMarker.LineInfo

public TokenMarker.LineInfo(byte token,
                            Object obj)
Creates a new LineInfo object with the specified parameters.


JET

JET is Copyright (C) 2005-2008 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.