Package org.bytedeco.javacpp.tools
Class TokenIndexer
java.lang.Object
org.bytedeco.javacpp.tools.TokenIndexer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Token[]
The token of array, modified by the preprocessor as we go.(package private) int
Counter for the special predefined__COUNTER__
macro.(package private) int
The current index, in the array of tokens.(package private) InfoMap
The set ofInfo
objects to use during preprocessing.(package private) final boolean
Whether the file came from the C-include path(package private) boolean
Set to true to disable temporarily the preprocessor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Token[]
(package private) Token[]
(package private) Token
get()
Returnsget(0)
.(package private) Token
get
(int i) Returnsarray[index + i]
.(package private) Token
next()
Incrementsindex
and returnsarray[index]
.(package private) int
preprocess
(int index, int count)
-
Field Details
-
raw
boolean rawSet to true to disable temporarily the preprocessor. -
infoMap
InfoMap infoMapThe set ofInfo
objects to use during preprocessing. -
array
Token[] arrayThe token of array, modified by the preprocessor as we go. -
index
int index -
isCFile
final boolean isCFileWhether the file came from the C-include path -
counter
int counterCounter for the special predefined__COUNTER__
macro.
-
-
Constructor Details
-
TokenIndexer
-
-
Method Details