Package gw.lang.parser
Class Keyword
java.lang.Object
gw.lang.parser.Keyword
- All Implemented Interfaces:
CharSequence
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final String
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
static final Keyword
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Keyword
addReservedWord
(String strWord) private static Keyword
addReservedWord
(String strWord, boolean bValue) char
charAt
(int index) boolean
boolean
static Keyword
getAll()
getName()
int
hashCode()
static boolean
static boolean
isReservedKeyword
(String strWord) boolean
isValue()
static boolean
isValueKeyword
(String strWord) int
length()
subSequence
(int start, int end) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
RESERVED_WORDS
-
KW_true
-
KW_false
-
KW_NaN
-
KW_Infinity
-
KW_and
-
KW_or
-
KW_not
-
KW_null
-
KW_length
-
KW_in
-
KW_out
-
KW_startswith
-
KW_contains
-
KW_where
-
KW_var
-
KW_delegate
-
KW_represents
-
KW_as
-
KW_typeof
-
KW_statictypeof
-
KW_typeis
-
KW_typeas
-
KW_print
-
KW_package
-
KW_uses
-
KW_if
-
KW_else
-
KW_foreach
-
KW_for
-
KW_index
-
KW_iterator
-
KW_while
-
KW_do
-
KW_continue
-
KW_break
-
KW_return
-
KW_construct
-
KW_function
-
KW_property
-
KW_get
-
KW_set
-
KW_try
-
KW_catch
-
KW_finally
-
KW_this
-
KW_throw
-
KW_assert
-
KW_new
-
KW_switch
-
KW_case
-
KW_default
-
KW_eval
-
KW_private
-
KW_internal
-
KW_protected
-
KW_public
-
KW_abstract
-
KW_override
-
KW_hide
-
KW_final
-
KW_static
-
KW_reified
-
KW_extends
-
KW_transient
-
KW_implements
-
KW_readonly
-
KW_class
-
KW_interface
-
KW_annotation
-
KW_structure
-
KW_enum
-
KW_super
-
KW_outer
-
KW_void
-
KW_boolean
-
KW_char
-
KW_byte
-
KW_short
-
KW_int
-
KW_long
-
KW_float
-
KW_double
-
KW_block
-
KW_enhancement
-
KW_classpath
-
KW_typeloader
-
KW_using
-
KW_field
-
KW_accessors
-
KW_param
-
KW_receiver
-
_strName
-
_bValue
private final boolean _bValue
-
-
Constructor Details
-
Keyword
-
-
Method Details
-
addReservedWord
-
addReservedWord
-
isKeyword
-
isValueKeyword
-
isReservedKeyword
-
get
-
getAll
-
length
public int length()- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
isValue
public boolean isValue() -
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
equals
-
hashCode
public int hashCode() -
equals
-
getName
-