GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.gluegen.cgram.HeaderParser Class Reference
Inheritance diagram for com.jogamp.gluegen.cgram.HeaderParser:
Collaboration diagram for com.jogamp.gluegen.cgram.HeaderParser:

Classes

class  ParameterDeclaration
 
class  TypeBox
 

Public Member Functions

boolean getDebug ()
 
void setDebug (boolean debug)
 
void setJavaConfiguration (JavaConfiguration cfg)
 Set the configuration for this HeaderParser. More...
 
void setTypedefDictionary (TypeDictionary dict)
 Set the dictionary mapping typedef names to types for this HeaderParser. More...
 
TypeDictionary getTypedefDictionary ()
 Returns the typedef dictionary this HeaderParser uses. More...
 
void setStructDictionary (TypeDictionary dict)
 Set the dictionary mapping struct names (i.e., the "foo" in "struct foo { ... };") to types for this HeaderParser. More...
 
TypeDictionary getStructDictionary ()
 Returns the struct name dictionary this HeaderParser uses. More...
 
Map getCanonMap ()
 Get the canonicalization map, which is a regular HashMap mapping Type to Type and which is used for looking up the unique instances of e.g. More...
 
void setEnums (List< EnumType > enumTypes)
 Pre-define the list of EnumTypes for this HeaderParser. More...
 
List< EnumTypegetEnums ()
 Returns the EnumTypes this HeaderParser processed. More...
 
void clearParsedFunctions ()
 Clears the list of functions this HeaderParser has parsed. More...
 
List< FunctionSymbolgetParsedFunctions ()
 Returns the list of FunctionSymbols this HeaderParser has parsed. More...
 
 HeaderParser ()
 
final String declarator (AST _t, TypeBox tb) throws RecognitionException
 
final void pointerGroup (AST _t, TypeBox tb) throws RecognitionException
 
final List< ParameterDeclaration > parameterTypeList (AST _t) throws RecognitionException
 
final void idList (AST _t) throws RecognitionException
 
final void expr (AST _t) throws RecognitionException
 
final void typelessDeclaration (AST _t) throws RecognitionException
 
final void initDeclList (AST _t, TypeBox tb) throws RecognitionException
 
final void declaration (AST _t) throws RecognitionException
 
final TypeBox declSpecifiers (AST _t) throws RecognitionException
 
final ParameterDeclaration parameterDeclaration (AST _t) throws RecognitionException
 
final void nonemptyAbstractDeclarator (AST _t, TypeBox tb) throws RecognitionException
 
final void functionDef (AST _t) throws RecognitionException
 
final void functionDeclSpecifiers (AST _t) throws RecognitionException
 
final void compoundStatement (AST _t) throws RecognitionException
 
final int storageClassSpecifier (AST _t) throws RecognitionException
 
final int typeQualifier (AST _t) throws RecognitionException
 
final Type typeSpecifier (AST _t, int attributes) throws RecognitionException
 
final int functionStorageClassSpecifier (AST _t) throws RecognitionException
 
final Type structSpecifier (AST _t, int cvAttrs) throws RecognitionException
 
final void attributeDecl (AST _t) throws RecognitionException
 
final Type unionSpecifier (AST _t, int cvAttrs) throws RecognitionException
 
final Type enumSpecifier (AST _t, int cvAttrs) throws RecognitionException
 
final Type typedefName (AST _t, int cvAttrs) throws RecognitionException
 
final void typeName (AST _t) throws RecognitionException
 
final CompoundType structOrUnionBody (AST _t, CompoundTypeKind kind, int cvAttrs) throws RecognitionException
 
final boolean structDeclarationList (AST _t, CompoundType t) throws RecognitionException
 
final boolean structDeclaration (AST _t, CompoundType containingType) throws RecognitionException
 
final Type specifierQualifierList (AST _t) throws RecognitionException
 
final boolean structDeclaratorList (AST _t, CompoundType containingType, Type t) throws RecognitionException
 
final boolean structDeclarator (AST _t, CompoundType containingType, Type t) throws RecognitionException
 
final void enumList (AST _t, EnumType enumeration) throws RecognitionException
 
final ConstantDefinition enumerator (AST _t, EnumType enumeration, ConstantDefinition defaultValue) throws RecognitionException
 
final void initDecl (AST _t, TypeBox tb) throws RecognitionException
 
final void initializer (AST _t) throws RecognitionException
 
final int intConstExpr (AST _t) throws RecognitionException
 
final void translationUnit (AST _t) throws RecognitionException
 
final void externalList (AST _t) throws RecognitionException
 
final void externalDef (AST _t) throws RecognitionException
 
final void asm_expr (AST _t) throws RecognitionException
 
final void initializerElementLabel (AST _t) throws RecognitionException
 
final void lcurlyInitializer (AST _t) throws RecognitionException
 
final void initializerList (AST _t) throws RecognitionException
 
final void declarationList (AST _t) throws RecognitionException
 
final void localLabelDecl (AST _t) throws RecognitionException
 
final void statementList (AST _t) throws RecognitionException
 
final void statement (AST _t) throws RecognitionException
 
final void statementBody (AST _t) throws RecognitionException
 
final void assignExpr (AST _t) throws RecognitionException
 
final void conditionalExpr (AST _t) throws RecognitionException
 
final void logicalOrExpr (AST _t) throws RecognitionException
 
final void logicalAndExpr (AST _t) throws RecognitionException
 
final void inclusiveOrExpr (AST _t) throws RecognitionException
 
final void exclusiveOrExpr (AST _t) throws RecognitionException
 
final void bitAndExpr (AST _t) throws RecognitionException
 
final void equalityExpr (AST _t) throws RecognitionException
 
final void relationalExpr (AST _t) throws RecognitionException
 
final void shiftExpr (AST _t) throws RecognitionException
 
final void additiveExpr (AST _t) throws RecognitionException
 
final void multExpr (AST _t) throws RecognitionException
 
final void castExpr (AST _t) throws RecognitionException
 
final void unaryExpr (AST _t) throws RecognitionException
 
final void postfixExpr (AST _t) throws RecognitionException
 
final void primaryExpr (AST _t) throws RecognitionException
 
final void commaExpr (AST _t) throws RecognitionException
 
final void emptyExpr (AST _t) throws RecognitionException
 
final void compoundStatementExpr (AST _t) throws RecognitionException
 
final void rangeExpr (AST _t) throws RecognitionException
 
final void gnuAsmExpr (AST _t) throws RecognitionException
 
final void strOptExprPair (AST _t) throws RecognitionException
 
final void unaryOperator (AST _t) throws RecognitionException
 
final void argExprList (AST _t) throws RecognitionException
 

Static Public Attributes

static final String ANONYMOUS_ENUM_NAME = "<anonymous>"
 Name assigned to a anonymous EnumType (e.g., "enum { ... }"). More...
 
static final String[] _tokenNames
 
static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0())
 
static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1())
 
static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2())
 
static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3())
 
static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4())
 

Protected Member Functions

final void stringConst (AST _t) throws RecognitionException
 
final void charConst (AST _t) throws RecognitionException
 
final void intConst (AST _t) throws RecognitionException
 
final void floatConst (AST _t) throws RecognitionException
 

Additional Inherited Members

- Public Attributes inherited from com.jogamp.gluegen.cgram.HeaderParserTokenTypes
int EOF = 1
 
int NULL_TREE_LOOKAHEAD = 3
 
int LITERAL_typedef = 4
 
int LITERAL_asm = 5
 
int LITERAL_volatile = 6
 
int LCURLY = 7
 
int RCURLY = 8
 
int SEMI = 9
 
int LITERAL_struct = 10
 
int LITERAL_union = 11
 
int LITERAL_enum = 12
 
int LITERAL_auto = 13
 
int LITERAL_register = 14
 
int LITERAL_extern = 15
 
int LITERAL_static = 16
 
int LITERAL_const = 17
 
int LITERAL_void = 18
 
int LITERAL_char = 19
 
int LITERAL_short = 20
 
int LITERAL_int = 21
 
int LITERAL_long = 22
 
int LITERAL_float = 23
 
int LITERAL_double = 24
 
int LITERAL_signed = 25
 
int LITERAL_unsigned = 26
 
int LITERAL_wchar_t = 33
 
int LITERAL_ptrdiff_t = 38
 
int LITERAL_intptr_t = 39
 
int LITERAL_size_t = 40
 
int LITERAL_uintptr_t = 41
 
int ID = 42
 
int COMMA = 43
 
int COLON = 44
 
int ASSIGN = 45
 
int STAR = 46
 
int LPAREN = 47
 
int RPAREN = 48
 
int LBRACKET = 49
 
int RBRACKET = 50
 
int VARARGS = 51
 
int LITERAL_while = 52
 
int LITERAL_do = 53
 
int LITERAL_for = 54
 
int LITERAL_goto = 55
 
int LITERAL_continue = 56
 
int LITERAL_break = 57
 
int LITERAL_return = 58
 
int LITERAL_case = 59
 
int LITERAL_default = 60
 
int LITERAL_if = 61
 
int LITERAL_else = 62
 
int LITERAL_switch = 63
 
int DIV_ASSIGN = 64
 
int PLUS_ASSIGN = 65
 
int MINUS_ASSIGN = 66
 
int STAR_ASSIGN = 67
 
int MOD_ASSIGN = 68
 
int RSHIFT_ASSIGN = 69
 
int LSHIFT_ASSIGN = 70
 
int BAND_ASSIGN = 71
 
int BOR_ASSIGN = 72
 
int BXOR_ASSIGN = 73
 
int QUESTION = 74
 
int LOR = 75
 
int LAND = 76
 
int BOR = 77
 
int BXOR = 78
 
int BAND = 79
 
int EQUAL = 80
 
int NOT_EQUAL = 81
 
int LT = 82
 
int LTE = 83
 
int GT = 84
 
int GTE = 85
 
int LSHIFT = 86
 
int RSHIFT = 87
 
int PLUS = 88
 
int MINUS = 89
 
int DIV = 90
 
int MOD = 91
 
int INC = 92
 
int DEC = 93
 
int LITERAL_sizeof = 94
 
int BNOT = 95
 
int LNOT = 96
 
int PTR = 97
 
int DOT = 98
 
int CharLiteral = 99
 
int StringLiteral = 100
 
int IntOctalConst = 101
 
int LongOctalConst = 102
 
int UnsignedOctalConst = 103
 
int IntIntConst = 104
 
int LongIntConst = 105
 
int UnsignedIntConst = 106
 
int IntHexConst = 107
 
int LongHexConst = 108
 
int UnsignedHexConst = 109
 
int FloatDoubleConst = 110
 
int DoubleDoubleConst = 111
 
int LongDoubleConst = 112
 
int NTypedefName = 113
 
int NInitDecl = 114
 
int NDeclarator = 115
 
int NStructDeclarator = 116
 
int NDeclaration = 117
 
int NCast = 118
 
int NPointerGroup = 119
 
int NExpressionGroup = 120
 
int NFunctionCallArgs = 121
 
int NNonemptyAbstractDeclarator = 122
 
int NInitializer = 123
 
int NStatementExpr = 124
 
int NEmptyExpression = 125
 
int NParameterTypeList = 126
 
int NFunctionDef = 127
 
int NCompoundStatement = 128
 
int NParameterDeclaration = 129
 
int NCommaExpr = 130
 
int NUnaryExpr = 131
 
int NLabel = 132
 
int NPostfixExpr = 133
 
int NRangeExpr = 134
 
int NStringSeq = 135
 
int NInitializerElementLabel = 136
 
int NLcurlyInitializer = 137
 
int NAsmAttribute = 138
 
int NGnuAsmExpr = 139
 
int NTypeMissing = 140
 
int Vocabulary = 141
 
int Whitespace = 142
 
int Comment = 143
 
int CPPComment = 144
 
int NonWhitespace = 145
 
int PREPROC_DIRECTIVE = 146
 
int DefineExpr = 147
 
int DefineExpr2 = 148
 
int Space = 149
 
int LineDirective = 150
 
int BadStringLiteral = 151
 
int Escape = 152
 
int Digit = 153
 
int LongSuffix = 154
 
int UnsignedSuffix = 155
 
int FloatSuffix = 156
 
int Exponent = 157
 
int Number = 158
 
int LITERAL___label__ = 159
 
int LITERAL_inline = 160
 
int LITERAL_typeof = 161
 
int LITERAL___complex = 162
 
int LITERAL___attribute = 163
 
int LITERAL___alignof = 164
 
int LITERAL___real = 165
 
int LITERAL___imag = 166
 

Detailed Description

Definition at line 31 of file HeaderParser.java.

Constructor & Destructor Documentation

◆ HeaderParser()

com.jogamp.gluegen.cgram.HeaderParser.HeaderParser ( )

Definition at line 414 of file HeaderParser.java.

Member Function Documentation

◆ additiveExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.additiveExpr ( AST  _t) throws RecognitionException

Definition at line 5314 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ argExprList()

final void com.jogamp.gluegen.cgram.HeaderParser.argExprList ( AST  _t) throws RecognitionException

Definition at line 6323 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ asm_expr()

final void com.jogamp.gluegen.cgram.HeaderParser.asm_expr ( AST  _t) throws RecognitionException

Definition at line 3993 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assignExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.assignExpr ( AST  _t) throws RecognitionException

Definition at line 4720 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ attributeDecl()

final void com.jogamp.gluegen.cgram.HeaderParser.attributeDecl ( AST  _t) throws RecognitionException

Definition at line 2607 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bitAndExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.bitAndExpr ( AST  _t) throws RecognitionException

Definition at line 5103 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ castExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.castExpr ( AST  _t) throws RecognitionException

Definition at line 5432 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ charConst()

final void com.jogamp.gluegen.cgram.HeaderParser.charConst ( AST  _t) throws RecognitionException
protected

Definition at line 6356 of file HeaderParser.java.

Here is the caller graph for this function:

◆ clearParsedFunctions()

void com.jogamp.gluegen.cgram.HeaderParser.clearParsedFunctions ( )

Clears the list of functions this HeaderParser has parsed.

Useful when reusing the same HeaderParser for more than one header file.

Definition at line 102 of file HeaderParser.java.

◆ commaExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.commaExpr ( AST  _t) throws RecognitionException

Definition at line 5853 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compoundStatement()

final void com.jogamp.gluegen.cgram.HeaderParser.compoundStatement ( AST  _t) throws RecognitionException

Definition at line 1875 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compoundStatementExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.compoundStatementExpr ( AST  _t) throws RecognitionException

Definition at line 5900 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ conditionalExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.conditionalExpr ( AST  _t) throws RecognitionException

Definition at line 4898 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declaration()

final void com.jogamp.gluegen.cgram.HeaderParser.declaration ( AST  _t) throws RecognitionException

Definition at line 1126 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declarationList()

final void com.jogamp.gluegen.cgram.HeaderParser.declarationList ( AST  _t) throws RecognitionException

Definition at line 4209 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declarator()

final String com.jogamp.gluegen.cgram.HeaderParser.declarator ( AST  _t,
TypeBox  tb 
) throws RecognitionException

Definition at line 418 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declSpecifiers()

final TypeBox com.jogamp.gluegen.cgram.HeaderParser.declSpecifiers ( AST  _t) throws RecognitionException

Definition at line 1193 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emptyExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.emptyExpr ( AST  _t) throws RecognitionException

Definition at line 5880 of file HeaderParser.java.

Here is the caller graph for this function:

◆ enumerator()

final ConstantDefinition com.jogamp.gluegen.cgram.HeaderParser.enumerator ( AST  _t,
EnumType  enumeration,
ConstantDefinition  defaultValue 
) throws RecognitionException

Definition at line 3468 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumList()

final void com.jogamp.gluegen.cgram.HeaderParser.enumList ( AST  _t,
EnumType  enumeration 
) throws RecognitionException

Definition at line 3430 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumSpecifier()

final Type com.jogamp.gluegen.cgram.HeaderParser.enumSpecifier ( AST  _t,
int  cvAttrs 
) throws RecognitionException

Definition at line 2704 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equalityExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.equalityExpr ( AST  _t) throws RecognitionException

Definition at line 5130 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exclusiveOrExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.exclusiveOrExpr ( AST  _t) throws RecognitionException

Definition at line 5076 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expr()

final void com.jogamp.gluegen.cgram.HeaderParser.expr ( AST  _t) throws RecognitionException

Definition at line 877 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ externalDef()

final void com.jogamp.gluegen.cgram.HeaderParser.externalDef ( AST  _t) throws RecognitionException

Definition at line 3938 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ externalList()

final void com.jogamp.gluegen.cgram.HeaderParser.externalList ( AST  _t) throws RecognitionException

Definition at line 3905 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ floatConst()

final void com.jogamp.gluegen.cgram.HeaderParser.floatConst ( AST  _t) throws RecognitionException
protected

Definition at line 6463 of file HeaderParser.java.

◆ functionDeclSpecifiers()

final void com.jogamp.gluegen.cgram.HeaderParser.functionDeclSpecifiers ( AST  _t) throws RecognitionException

Definition at line 1794 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ functionDef()

final void com.jogamp.gluegen.cgram.HeaderParser.functionDef ( AST  _t) throws RecognitionException

Definition at line 1686 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ functionStorageClassSpecifier()

final int com.jogamp.gluegen.cgram.HeaderParser.functionStorageClassSpecifier ( AST  _t) throws RecognitionException

Definition at line 2520 of file HeaderParser.java.

Here is the caller graph for this function:

◆ getCanonMap()

Map com.jogamp.gluegen.cgram.HeaderParser.getCanonMap ( )

Get the canonicalization map, which is a regular HashMap mapping Type to Type and which is used for looking up the unique instances of e.g.

pointer-to-structure types that have been typedefed and therefore have names.

Definition at line 80 of file HeaderParser.java.

Here is the caller graph for this function:

◆ getDebug()

boolean com.jogamp.gluegen.cgram.HeaderParser.getDebug ( )

Definition at line 39 of file HeaderParser.java.

◆ getEnums()

List< EnumType > com.jogamp.gluegen.cgram.HeaderParser.getEnums ( )

Returns the EnumTypes this HeaderParser processed.

Definition at line 95 of file HeaderParser.java.

Here is the caller graph for this function:

◆ getParsedFunctions()

List< FunctionSymbol > com.jogamp.gluegen.cgram.HeaderParser.getParsedFunctions ( )

Returns the list of FunctionSymbols this HeaderParser has parsed.

Definition at line 107 of file HeaderParser.java.

Here is the caller graph for this function:

◆ getStructDictionary()

TypeDictionary com.jogamp.gluegen.cgram.HeaderParser.getStructDictionary ( )

Returns the struct name dictionary this HeaderParser uses.

Definition at line 72 of file HeaderParser.java.

◆ getTypedefDictionary()

TypeDictionary com.jogamp.gluegen.cgram.HeaderParser.getTypedefDictionary ( )

Returns the typedef dictionary this HeaderParser uses.

Definition at line 60 of file HeaderParser.java.

◆ gnuAsmExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.gnuAsmExpr ( AST  _t) throws RecognitionException

Definition at line 5958 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idList()

final void com.jogamp.gluegen.cgram.HeaderParser.idList ( AST  _t) throws RecognitionException

Definition at line 839 of file HeaderParser.java.

Here is the caller graph for this function:

◆ inclusiveOrExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.inclusiveOrExpr ( AST  _t) throws RecognitionException

Definition at line 5049 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initDecl()

final void com.jogamp.gluegen.cgram.HeaderParser.initDecl ( AST  _t,
TypeBox  tb 
) throws RecognitionException

Definition at line 3566 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initDeclList()

final void com.jogamp.gluegen.cgram.HeaderParser.initDeclList ( AST  _t,
TypeBox  tb 
) throws RecognitionException

Definition at line 1091 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializer()

final void com.jogamp.gluegen.cgram.HeaderParser.initializer ( AST  _t) throws RecognitionException

Definition at line 3701 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializerElementLabel()

final void com.jogamp.gluegen.cgram.HeaderParser.initializerElementLabel ( AST  _t) throws RecognitionException

Definition at line 4061 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializerList()

final void com.jogamp.gluegen.cgram.HeaderParser.initializerList ( AST  _t) throws RecognitionException

Definition at line 4178 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ intConst()

final void com.jogamp.gluegen.cgram.HeaderParser.intConst ( AST  _t) throws RecognitionException
protected

Definition at line 6376 of file HeaderParser.java.

◆ intConstExpr()

final int com.jogamp.gluegen.cgram.HeaderParser.intConstExpr ( AST  _t) throws RecognitionException

Definition at line 3810 of file HeaderParser.java.

Here is the call graph for this function:

◆ lcurlyInitializer()

final void com.jogamp.gluegen.cgram.HeaderParser.lcurlyInitializer ( AST  _t) throws RecognitionException

Definition at line 4150 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localLabelDecl()

final void com.jogamp.gluegen.cgram.HeaderParser.localLabelDecl ( AST  _t) throws RecognitionException

Definition at line 4246 of file HeaderParser.java.

Here is the caller graph for this function:

◆ logicalAndExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.logicalAndExpr ( AST  _t) throws RecognitionException

Definition at line 5022 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ logicalOrExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.logicalOrExpr ( AST  _t) throws RecognitionException

Definition at line 4995 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ multExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.multExpr ( AST  _t) throws RecognitionException

Definition at line 5366 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nonemptyAbstractDeclarator()

final void com.jogamp.gluegen.cgram.HeaderParser.nonemptyAbstractDeclarator ( AST  _t,
TypeBox  tb 
) throws RecognitionException

Definition at line 1370 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameterDeclaration()

final ParameterDeclaration com.jogamp.gluegen.cgram.HeaderParser.parameterDeclaration ( AST  _t) throws RecognitionException

Definition at line 1303 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameterTypeList()

final List< ParameterDeclaration > com.jogamp.gluegen.cgram.HeaderParser.parameterTypeList ( AST  _t) throws RecognitionException

Definition at line 751 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointerGroup()

final void com.jogamp.gluegen.cgram.HeaderParser.pointerGroup ( AST  _t,
TypeBox  tb 
) throws RecognitionException

Definition at line 677 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ postfixExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.postfixExpr ( AST  _t) throws RecognitionException

Definition at line 5626 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ primaryExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.primaryExpr ( AST  _t) throws RecognitionException

Definition at line 5791 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rangeExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.rangeExpr ( AST  _t) throws RecognitionException

Definition at line 5928 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ relationalExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.relationalExpr ( AST  _t) throws RecognitionException

Definition at line 5182 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDebug()

void com.jogamp.gluegen.cgram.HeaderParser.setDebug ( boolean  debug)

Definition at line 43 of file HeaderParser.java.

Here is the caller graph for this function:

◆ setEnums()

void com.jogamp.gluegen.cgram.HeaderParser.setEnums ( List< EnumType enumTypes)

Pre-define the list of EnumTypes for this HeaderParser.

Must be done before parsing.

Definition at line 86 of file HeaderParser.java.

◆ setJavaConfiguration()

void com.jogamp.gluegen.cgram.HeaderParser.setJavaConfiguration ( JavaConfiguration  cfg)

Set the configuration for this HeaderParser.

Must be done before parsing.

Definition at line 49 of file HeaderParser.java.

Here is the caller graph for this function:

◆ setStructDictionary()

void com.jogamp.gluegen.cgram.HeaderParser.setStructDictionary ( TypeDictionary  dict)

Set the dictionary mapping struct names (i.e., the "foo" in "struct foo { ... };") to types for this HeaderParser.

Must be done before parsing.

Definition at line 67 of file HeaderParser.java.

Here is the caller graph for this function:

◆ setTypedefDictionary()

void com.jogamp.gluegen.cgram.HeaderParser.setTypedefDictionary ( TypeDictionary  dict)

Set the dictionary mapping typedef names to types for this HeaderParser.

Must be done before parsing.

Definition at line 55 of file HeaderParser.java.

Here is the caller graph for this function:

◆ shiftExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.shiftExpr ( AST  _t) throws RecognitionException

Definition at line 5262 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ specifierQualifierList()

final Type com.jogamp.gluegen.cgram.HeaderParser.specifierQualifierList ( AST  _t) throws RecognitionException

Definition at line 3198 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statement()

final void com.jogamp.gluegen.cgram.HeaderParser.statement ( AST  _t) throws RecognitionException

Definition at line 4319 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statementBody()

final void com.jogamp.gluegen.cgram.HeaderParser.statementBody ( AST  _t) throws RecognitionException

Definition at line 4338 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statementList()

final void com.jogamp.gluegen.cgram.HeaderParser.statementList ( AST  _t) throws RecognitionException

Definition at line 4286 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ storageClassSpecifier()

final int com.jogamp.gluegen.cgram.HeaderParser.storageClassSpecifier ( AST  _t) throws RecognitionException

Definition at line 1959 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stringConst()

final void com.jogamp.gluegen.cgram.HeaderParser.stringConst ( AST  _t) throws RecognitionException
protected

Definition at line 6150 of file HeaderParser.java.

Here is the caller graph for this function:

◆ strOptExprPair()

final void com.jogamp.gluegen.cgram.HeaderParser.strOptExprPair ( AST  _t) throws RecognitionException

Definition at line 6190 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structDeclaration()

final boolean com.jogamp.gluegen.cgram.HeaderParser.structDeclaration ( AST  _t,
CompoundType  containingType 
) throws RecognitionException

Definition at line 3151 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structDeclarationList()

final boolean com.jogamp.gluegen.cgram.HeaderParser.structDeclarationList ( AST  _t,
CompoundType  t 
) throws RecognitionException

Definition at line 3107 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structDeclarator()

final boolean com.jogamp.gluegen.cgram.HeaderParser.structDeclarator ( AST  _t,
CompoundType  containingType,
Type  t 
) throws RecognitionException

Definition at line 3332 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structDeclaratorList()

final boolean com.jogamp.gluegen.cgram.HeaderParser.structDeclaratorList ( AST  _t,
CompoundType  containingType,
Type  t 
) throws RecognitionException

Definition at line 3288 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structOrUnionBody()

final CompoundType com.jogamp.gluegen.cgram.HeaderParser.structOrUnionBody ( AST  _t,
CompoundTypeKind  kind,
int  cvAttrs 
) throws RecognitionException

Definition at line 2897 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ structSpecifier()

final Type com.jogamp.gluegen.cgram.HeaderParser.structSpecifier ( AST  _t,
int  cvAttrs 
) throws RecognitionException

Definition at line 2577 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ translationUnit()

final void com.jogamp.gluegen.cgram.HeaderParser.translationUnit ( AST  _t) throws RecognitionException

Definition at line 3875 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typedefName()

final Type com.jogamp.gluegen.cgram.HeaderParser.typedefName ( AST  _t,
int  cvAttrs 
) throws RecognitionException

Definition at line 2814 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typelessDeclaration()

final void com.jogamp.gluegen.cgram.HeaderParser.typelessDeclaration ( AST  _t) throws RecognitionException

Definition at line 1060 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typeName()

final void com.jogamp.gluegen.cgram.HeaderParser.typeName ( AST  _t) throws RecognitionException

Definition at line 2856 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ typeQualifier()

final int com.jogamp.gluegen.cgram.HeaderParser.typeQualifier ( AST  _t) throws RecognitionException

Definition at line 2024 of file HeaderParser.java.

Here is the caller graph for this function:

◆ typeSpecifier()

final Type com.jogamp.gluegen.cgram.HeaderParser.typeSpecifier ( AST  _t,
int  attributes 
) throws RecognitionException

Definition at line 2091 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unaryExpr()

final void com.jogamp.gluegen.cgram.HeaderParser.unaryExpr ( AST  _t) throws RecognitionException

Definition at line 5462 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unaryOperator()

final void com.jogamp.gluegen.cgram.HeaderParser.unaryOperator ( AST  _t) throws RecognitionException

Definition at line 6236 of file HeaderParser.java.

Here is the caller graph for this function:

◆ unionSpecifier()

final Type com.jogamp.gluegen.cgram.HeaderParser.unionSpecifier ( AST  _t,
int  cvAttrs 
) throws RecognitionException

Definition at line 2674 of file HeaderParser.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _tokenNames

final String [] com.jogamp.gluegen.cgram.HeaderParser._tokenNames
static

Definition at line 6509 of file HeaderParser.java.

◆ _tokenSet_0

final BitSet com.jogamp.gluegen.cgram.HeaderParser._tokenSet_0 = new BitSet(mk_tokenSet_0())
static

Definition at line 6683 of file HeaderParser.java.

◆ _tokenSet_1

final BitSet com.jogamp.gluegen.cgram.HeaderParser._tokenSet_1 = new BitSet(mk_tokenSet_1())
static

Definition at line 6688 of file HeaderParser.java.

◆ _tokenSet_2

final BitSet com.jogamp.gluegen.cgram.HeaderParser._tokenSet_2 = new BitSet(mk_tokenSet_2())
static

Definition at line 6693 of file HeaderParser.java.

◆ _tokenSet_3

final BitSet com.jogamp.gluegen.cgram.HeaderParser._tokenSet_3 = new BitSet(mk_tokenSet_3())
static

Definition at line 6698 of file HeaderParser.java.

◆ _tokenSet_4

final BitSet com.jogamp.gluegen.cgram.HeaderParser._tokenSet_4 = new BitSet(mk_tokenSet_4())
static

Definition at line 6703 of file HeaderParser.java.

◆ ANONYMOUS_ENUM_NAME

final String com.jogamp.gluegen.cgram.HeaderParser.ANONYMOUS_ENUM_NAME = "<anonymous>"
static

Name assigned to a anonymous EnumType (e.g., "enum { ... }").

Definition at line 35 of file HeaderParser.java.


The documentation for this class was generated from the following file: