Package com.javacc.core
Class TokenSet
java.lang.Object
java.util.BitSet
com.javacc.core.TokenSet
- All Implemented Interfaces:
Serializable,Cloneable
A class to represent a set of Token types.
Will probably eventually move this into the Token.java.ftl as
something available to all generated parsers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidnot()voidsetIncomplete(boolean incomplete) long[]Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toString, valueOf, valueOf, valueOf, valueOf, xor
-
Constructor Details
-
TokenSet
-
TokenSet
-
-
Method Details
-
isIncomplete
public boolean isIncomplete() -
setIncomplete
public void setIncomplete(boolean incomplete) -
toLongArray
public long[] toLongArray()- Overrides:
toLongArrayin classBitSet
-
getTokenNames
-
getFirstTokenName
-
getTokenSetNames
-
getCommaDelimitedTokens
-
not
public void not()
-