Package org.opengrok.indexer.analysis
Class PendingToken
java.lang.Object
org.opengrok.indexer.analysis.PendingToken
Represents an almost-wholly immutable tuple whose field data are used by
 
JFlexTokenizer to set attributes to be read while iterating a
 token stream.- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionPendingToken(String str, int start, int end) Initializes an instance with immutable fields for the specified arguments. - 
Method Summary
 
- 
Field Details
- 
str
 - 
start
public final int start - 
end
public final int end 
 - 
 - 
Constructor Details
- 
PendingToken
Initializes an instance with immutable fields for the specified arguments.- Parameters:
 str- string valuestart- start offsetend- end offset
 
 - 
 - 
Method Details
- 
equals
Compares this instance's immutable fields to the other. - 
hashCode
public int hashCode()Calculates a hash code from the instance's immutable fields. - 
toString
Gets a readable representation for debugging. 
 -