Package com.jogamp.gluegen.cgram
Class Define
- java.lang.Object
-
- com.jogamp.gluegen.cgram.Define
-
- All Implemented Interfaces:
ASTLocusTag.ASTLocusTagProvider
public class Define extends Object implements ASTLocusTag.ASTLocusTagProvider
Represents a #define of a literal to a value (a number represented in string form.)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTLocusTag
getASTLocusTag()
Returns this instance'sASTLocusTag
, if available, otherwise returnsnull
.String
getName()
String
getValue()
-
-
-
Constructor Detail
-
Define
public Define(String name, String value, ASTLocusTag astLocus)
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
getASTLocusTag
public ASTLocusTag getASTLocusTag()
Description copied from interface:ASTLocusTag.ASTLocusTagProvider
Returns this instance'sASTLocusTag
, if available, otherwise returnsnull
.- Specified by:
getASTLocusTag
in interfaceASTLocusTag.ASTLocusTagProvider
-
-