Top Description Fields Constructors Methods
com.jogamp.gluegen.jcpp

pack-priv Class Argument

extends ArrayList<Token>
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .Iterator, .List, javax.annotation.Nonnull

A macro argument. This encapsulates a raw and preprocessed token stream.

Field Summary

Modifier and TypeField and Description
private List<Token>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
pack-priv void
public Iterator<Token>
public String
toString()

Overrides java.util.AbstractCollection.toString.

Returns a string representation of this collection.
Inherited from java.util.ArrayList:
addaddaddAlladdAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Field Detail

expansionback to summary
private List<Token> expansion

Constructor Detail

Argumentback to summary
public Argument()

Method Detail

addTokenback to summary
public void addToken(Token tok)
expandback to summary
pack-priv void expand(Preprocessor p) throws IOException, LexerException
expansionback to summary
public Iterator<Token> expansion()
Annotations
@Nonnull
toStringback to summary
public String toString()

Overrides java.util.AbstractCollection.toString.

Doc from java.util.AbstractCollection.toString.

Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space). Elements are converted to strings as by String#valueOf(Object).

Returns:String

a string representation of this collection

Annotations
@Override