Uses of Interface
jdk.incubator.jextract.Position
-
Uses of Position in jdk.incubator.jextract
Modifier and TypeFieldDescriptionstatic final Position
Position.NO_POSITION
An empty position instance; this can be used to model synthetic program elements which are not defined in any input file.Modifier and TypeMethodDescriptionDeclaration.pos()
The position associated with this declaration.Modifier and TypeMethodDescriptionstatic Declaration.Variable
Declaration.bitfield
(Position pos, String name, Type type, MemoryLayout layout) Creates a new bitfield declaration with given name, type and layout.static Declaration.Scoped
Declaration.bitfields
(Position pos, MemoryLayout layout, Declaration.Variable... bitfields) Creates a new bitfields group declaration with given name and layout.static Declaration.Scoped
Declaration.class_
(Position pos, String name, MemoryLayout layout, Declaration... decls) Creates a new class declaration with given name, layout and member declarations.static Declaration.Scoped
Declaration.class_
(Position pos, String name, Declaration... decls) Creates a new class declaration with given name and member declarations.static Declaration.Constant
Creates a new constant declaration with given name and type.static Declaration.Scoped
Declaration.enum_
(Position pos, String name, MemoryLayout layout, Declaration... decls) Creates a new enum declaration with given name, layout and member declarations.static Declaration.Scoped
Declaration.enum_
(Position pos, String name, Declaration... decls) Creates a new enum declaration with given name and member declarations.static Declaration.Variable
Creates a new field declaration with given name and type.static Declaration.Function
Declaration.function
(Position pos, String name, Type.Function type, Declaration.Variable... params) Creates a new function declaration with given name, type and parameter declarations.static Declaration.Variable
Declaration.globalVariable
(Position pos, String name, Type type) Creates a new global variable declaration with given name and type.static Declaration.Scoped
Declaration.namespace
(Position pos, String name, Declaration... decls) Creates a new namespace declaration with given name and member declarations.static Declaration.Variable
Creates a new parameter declaration with given name and type.static Declaration.Scoped
Declaration.struct
(Position pos, String name, MemoryLayout layout, Declaration... decls) Creates a new struct declaration with given name, layout and member declarations.static Declaration.Scoped
Declaration.struct
(Position pos, String name, Declaration... decls) Creates a new struct declaration with given name and member declarations.static Declaration.Scoped
Declaration.toplevel
(Position pos, Declaration... decls) Creates a new toplevel declaration with given member declarations.static Declaration.Typedef
Creates a new typedef declaration with given name and declared type.static Declaration.Scoped
Declaration.union
(Position pos, String name, MemoryLayout layout, Declaration... decls) Creates a new union declaration with given name, layout and member declarations.static Declaration.Scoped
Declaration.union
(Position pos, String name, Declaration... decls) Creates a new union declaration with given name and member declarations.