Top Fields Constructors Methods
com.jogamp.gluegen.jcpp

pack-priv Class TokenType

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, javax.annotation.CheckForNull, .Nonnegative, .Nonnull

Author
shevek

Field Summary

Modifier and TypeField and Description
private final String
private final String
private static final List<TokenType>

Constructor Summary

AccessConstructor and Description
pack-priv
TokenType(String name, String text)

Method Summary

Modifier and TypeMethod and Description
private static void
addTokenType(int type, String name, String text)

private static void
addTokenType(int type, String name)

public String
public String
public static String
getTokenName(int type)

public static String
getTokenText(int type)

public static TokenType
getTokenType(int type)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
textback to summary
private final String text
TYPESback to summary
private static final List<TokenType> TYPES

Constructor Detail

TokenTypeback to summary
pack-priv TokenType(String name, String text)

Method Detail

addTokenTypeback to summary
private static void addTokenType(int type, String name, String text)
addTokenTypeback to summary
private static void addTokenType(int type, String name)
getNameback to summary
public String getName()
Annotations
@Nonnull
getTextback to summary
public String getText()
Annotations
@CheckForNull
getTokenNameback to summary
public static String getTokenName(int type)
Annotations
@Nonnull
getTokenTextback to summary
public static String getTokenText(int type)
Annotations
@CheckForNull
getTokenTypeback to summary
public static TokenType getTokenType(int type)
Annotations
@CheckForNull