tcl.lang
Class ParseResult

java.lang.Object
  extended by tcl.lang.ParseResult

public class ParseResult
extends Object

This class stores a single word that's generated inside the Tcl parser inside the Interp class.


Field Summary
 int nextIndex
          Points to the next character to be parsed.
 TclObject value
          The value of a parse operation.
 
Constructor Summary
ParseResult(TclObject o, int ni)
          Assume that the caller has already preserve()'ed the TclObject.
 
Method Summary
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public TclObject value
The value of a parse operation. For calls to Interp.intEval(), this variable is the same as interp.m_result. The ref count has been incremented, so the user will need to explicitly invoke release() to drop the ref.


nextIndex

public int nextIndex
Points to the next character to be parsed.

Constructor Detail

ParseResult

public ParseResult(TclObject o,
                   int ni)
Assume that the caller has already preserve()'ed the TclObject.

Method Detail

release

public void release()


Copyright © 2015. All rights reserved.