net.jangaroo.jooc
Interface SyntacticKeywords
public interface SyntacticKeywords
Identifiers with special meaning become keywords in certain syntactic contexts:
In a for-each-in statement between the 'for' token and the '(' token:
each
In a function definition between the 'function' token and an identifier token:
get set
As the first word of a directive:
namespace include
In an attribute list or wherever an attribute list can be used:
dynamic final native override static
It is a syntax error to use a syntactic keyword in a context where it is treated as a keyword:
namespace = "hello"
namespace()
In these cases, the grammar requires an identifier after the namespace keyword.
|
Field Summary |
static java.lang.String |
ASSERT
|
static java.lang.String |
DYNAMIC
|
static java.lang.String |
EACH
|
static java.lang.String |
FINAL
|
static java.lang.String |
GET
|
static java.lang.String |
INCLUDE
|
static java.lang.String |
NAMESPACE
|
static java.lang.String |
NATIVE
|
static java.lang.String |
OVERRIDE
|
static java.util.Set<java.lang.String> |
RESERVED_WORDS
|
static java.lang.String |
SET
|
static java.lang.String |
STATIC
|
static java.lang.String |
VIRTUAL
|
ASSERT
static final java.lang.String ASSERT
- See Also:
- Constant Field Values
DYNAMIC
static final java.lang.String DYNAMIC
- See Also:
- Constant Field Values
EACH
static final java.lang.String EACH
- See Also:
- Constant Field Values
FINAL
static final java.lang.String FINAL
- See Also:
- Constant Field Values
GET
static final java.lang.String GET
- See Also:
- Constant Field Values
INCLUDE
static final java.lang.String INCLUDE
- See Also:
- Constant Field Values
NAMESPACE
static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
NATIVE
static final java.lang.String NATIVE
- See Also:
- Constant Field Values
OVERRIDE
static final java.lang.String OVERRIDE
- See Also:
- Constant Field Values
SET
static final java.lang.String SET
- See Also:
- Constant Field Values
STATIC
static final java.lang.String STATIC
- See Also:
- Constant Field Values
VIRTUAL
static final java.lang.String VIRTUAL
- See Also:
- Constant Field Values
RESERVED_WORDS
static final java.util.Set<java.lang.String> RESERVED_WORDS
Copyright © 2002-2010 CoreMedia AG. All Rights Reserved.