Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.cobol
Class CobolParser.ParseElement

java.lang.Object
  extended bycom.ibm.lpex.cobol.CobolParser.ParseElement

Enclosing class:
CobolParser


public class CobolParser.ParseElement
extends Object

The ParseElement class contains cached information about a document element.


Field Summary
 long _classes
          The cached element classes.
 boolean _continuationLine
          Indicates that the cached element is a continuation line.
 int _element
          The cached element number.
 CobolParser.ParseElement _next
          The next cached element.
 StringBuffer _style
          The cached element style.
 String _text
          The cached element text.
 
Constructor Summary
CobolParser.ParseElement()
          Construct an instance of ParseElement.
 
Method Summary
 boolean active()
          Determine if the cached parse element is still being used in parsing.
 void flush()
          Decache the cached element.
 void init(int element)
          Cache the specified element in this ParseElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Field Detail

 

 

_element

public int _element

The cached element number.


 

 

_text

public String _text

The cached element text.


 

 

_classes

public long _classes

The cached element classes.


 

 

_continuationLine

public boolean _continuationLine

Indicates that the cached element is a continuation line.


 

 

_style

public StringBuffer _style

The cached element style.


 

 

_next

public CobolParser.ParseElement _next

The next cached element.

Constructor Detail

 

 

CobolParser.ParseElement

public CobolParser.ParseElement()

Construct an instance of ParseElement. The instance is added to the list of free ParseElements (_freeParseElements).

Method Detail

 

 

init

public void init(int element)

Cache the specified element in this ParseElement. This ParseElement is taken off the available list (_freeParseElements), and added to the in-use list (_parseElements).


 

 

flush

public void flush()

Decache the cached element. The style and classes are set in the editor.


 

 

active

public boolean active()

Determine if the cached parse element is still being used in parsing.


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD