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 ASTLocusTaggetASTLocusTag()Returns this instance'sASTLocusTag, if available, otherwise returnsnull.StringgetName()StringgetValue()
-
-
-
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.ASTLocusTagProviderReturns this instance'sASTLocusTag, if available, otherwise returnsnull.- Specified by:
getASTLocusTagin interfaceASTLocusTag.ASTLocusTagProvider
-
-