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.
ASSERT
static final String ASSERT
- See Also:
- Constant Field Values
DYNAMIC
static final String DYNAMIC
- See Also:
- Constant Field Values
EACH
static final String EACH
- See Also:
- Constant Field Values
FINAL
static final String FINAL
- See Also:
- Constant Field Values
GET
static final String GET
- See Also:
- Constant Field Values
INCLUDE
static final String INCLUDE
- See Also:
- Constant Field Values
NAMESPACE
static final String NAMESPACE
- See Also:
- Constant Field Values
NATIVE
static final String NATIVE
- See Also:
- Constant Field Values
OVERRIDE
static final String OVERRIDE
- See Also:
- Constant Field Values
SET
static final String SET
- See Also:
- Constant Field Values
STATIC
static final String STATIC
- See Also:
- Constant Field Values
VIRTUAL
static final String VIRTUAL
- See Also:
- Constant Field Values
RESERVED_WORDS
static final Set<String> RESERVED_WORDS
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.