Top Fields Constructors Methods
com.jogamp.gluegen.jcpp

pack-priv Class FixedTokenSource

extends Source
Class Inheritance
Imports
java.io.IOException, java.util.Arrays, .List

Field Summary

Modifier and TypeField and Description
private static final Token
private int
private final List<Token>

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Token
token()

Implements abstract com.jogamp.gluegen.jcpp.Source.token.

Returns the next Token parsed from this input stream.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from com.jogamp.gluegen.jcpp.Source:
closeerrorgetColumngetLinegetNamegetParentgetPathinitisActiveisAutopopisExpandingisNumberediteratorsetActivesetListenersetParentskiplinewarning

Field Detail

EOFback to summary
private static final Token EOF
idxback to summary
private int idx
tokensback to summary
private final List<Token> tokens

Constructor Detail

FixedTokenSourceback to summary
pack-priv FixedTokenSource(Token... tokens)
FixedTokenSourceback to summary
pack-priv FixedTokenSource(List<Token> tokens)

Method Detail

tokenback to summary
public Token token() throws IOException, LexerException

Implements abstract com.jogamp.gluegen.jcpp.Source.token.

Doc from com.jogamp.gluegen.jcpp.Source.token.

Returns the next Token parsed from this input stream.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override