| Package | Description |
|---|---|
| xtc | |
| xtc.parser | |
| xtc.tree | |
| xtc.type | |
| xtc.util |
| Modifier and Type | Field and Description |
|---|---|
static Attribute |
Constants.ATT_ABSTRACT
The canonical
abstract attribute. |
static Attribute |
Constants.ATT_BUILTIN
The canonical
builtin attribute. |
static Attribute |
Constants.ATT_CONSTANT
The canonical
constant attribute. |
static Attribute |
Constants.ATT_DEFINED
The canonical
defined attribute. |
static Attribute |
Constants.ATT_DUMP
The canonical
dump attribute. |
static Attribute |
Constants.ATT_EXPLICIT
The canonical
explicit attribute. |
static Attribute |
Constants.ATT_FLATTEN
The canonical
flatten attribute. |
static Attribute |
Constants.ATT_GENERIC
The canonical
generic attribute. |
static Attribute |
Constants.ATT_GENERIC_AS_VOID
The canonical
genericAsVoid attribute. |
static Attribute |
Constants.ATT_IGNORING_CASE
The canonical
ignoringCase attribute. |
static Attribute |
Constants.ATT_IMPLICIT
The canonical
implicit attribute. |
static Attribute |
Constants.ATT_INLINE
The canonical
inline attribute. |
static Attribute |
Constants.ATT_LOOP
The canonical
loop attribute. |
static Attribute |
Constants.ATT_LVALUE
The canonical
lvalue attribute. |
static Attribute |
Constants.ATT_MACRO
The canonical
macro attribute. |
static Attribute |
Constants.ATT_MEMOIZED
The canonical
memoized attribute. |
static Attribute |
Constants.ATT_NATIVE
The canonical
native attribute. |
static Attribute |
Constants.ATT_NO_INLINE
The canonical
noinline attribute. |
static Attribute |
Constants.ATT_NO_WARNINGS
The canonical
nowarn attribute. |
static Attribute |
Constants.ATT_NODE
The canonical
node attribute. |
static Attribute |
Constants.ATT_NOT_A_VALUE
The canonical
notAValue attribute. |
static Attribute |
Constants.ATT_OPTIONAL
The canonical
optional attribute. |
static Attribute |
Constants.ATT_PACKAGE_PRIVATE
The package private visibility attribute.
|
static Attribute |
Constants.ATT_PARSE_TREE
The canonical
withParseTree attribute. |
static Attribute |
Constants.ATT_PRIVATE
The private visibility attribute.
|
static Attribute |
Constants.ATT_PROFILE
The canonical
profile attribute. |
static Attribute |
Constants.ATT_PROTECTED
The protected visibility attribute.
|
static Attribute |
Constants.ATT_PUBLIC
The public visibility attribute.
|
static Attribute |
Constants.ATT_RAW_TYPES
The canonical
rawTypes attribute. |
static Attribute |
Constants.ATT_RESETTING
The canonical
resetting attribute. |
static Attribute |
Constants.ATT_RESTRICT
The canonical
restrict attribute. |
static Attribute |
Constants.ATT_STATEFUL
The canonical
stateful attribute. |
static Attribute |
Constants.ATT_STORAGE_AUTO
The
auto storage class attribute. |
static Attribute |
Constants.ATT_STORAGE_EXTERN
The
extern storage class attribute. |
static Attribute |
Constants.ATT_STORAGE_REGISTER
The
register storage class attribute. |
static Attribute |
Constants.ATT_STORAGE_STATIC
The
static storage class attribute. |
static Attribute |
Constants.ATT_STORAGE_TYPEDEF
The
typdef storage class attribute. |
static Attribute |
Constants.ATT_STRICT_FP
The canonical
strictfp attribute. |
static Attribute |
Constants.ATT_STYLE_NEW
The new style attribute.
|
static Attribute |
Constants.ATT_STYLE_OLD
The old style attribute.
|
static Attribute |
Constants.ATT_SYNCHRONIZED
The canonical
synchronized attribute. |
static Attribute |
Constants.ATT_THREAD_LOCAL
The canonical
threadLocal attribute. |
static Attribute |
Constants.ATT_TRANSIENT
The canonical
transient attribute. |
static Attribute |
Constants.ATT_UNINITIALIZED
The canonical
uninitialized attribute. |
static Attribute |
Constants.ATT_USED
The canonical
used attribute. |
static Attribute |
Constants.ATT_VARIABLE
The canonical
variable attribute. |
static Attribute |
Constants.ATT_VARIANT
The canonical
variant attribute. |
static Attribute |
Constants.ATT_VERBOSE
The canonical
verbose attribute. |
static Attribute |
Constants.ATT_VOLATILE
The canonical
volatile attribute. |
static Attribute |
Constants.ATT_WITH_LOCATION
The canonical
withLocation attribute. |
| Modifier and Type | Field and Description |
|---|---|
java.util.List<Attribute> |
Production.attributes
The optional attribute list.
|
java.util.List<Attribute> |
Module.attributes
The optional attribute list.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Attribute> |
Resolver.check(Grammar g)
Perform basic checking for the specified grammar.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Production.hasAttribute(Attribute att)
Determine whether this production has the specified attribute.
|
boolean |
Module.hasAttribute(Attribute att)
Determine whether this module has the specified attribute.
|
void |
PrettyPrinter.visit(Attribute a)
Print the specified attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected Module |
Resolver.combine(Grammar g,
java.util.List<Attribute> attributes)
Combine the modules in the specified grammar.
|
| Constructor and Description |
|---|
FullProduction(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
OrderedChoice choice)
Create a new full production.
|
FullProduction(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new full production.
|
Module(Comment documentation,
ModuleName name,
ModuleList parameters,
java.util.List<ModuleDependency> dependencies,
Action header,
Action body,
Action footer,
java.util.List<Attribute> attributes,
java.util.List<Production> productions)
Create a new grammar module.
|
PartialProduction(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
OrderedChoice choice)
Create a new partial production.
|
Production(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new production.
|
Production(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new production.
|
ProductionOverride(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name)
Create a new production override.
|
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
Attribute.get(java.lang.String name,
java.util.List<Attribute> list)
Get the attribute with the specified name from the specified list.
|
| Modifier and Type | Method and Description |
|---|---|
Printer |
Printer.p(Attribute attribute)
Print the specified attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Attribute.areEquivalent(java.util.List<Attribute> l1,
java.util.List<Attribute> l2)
Determine whether the specified lists of attributes are equivalent.
|
static boolean |
Attribute.areEquivalent(java.util.List<Attribute> l1,
java.util.List<Attribute> l2)
Determine whether the specified lists of attributes are equivalent.
|
static Attribute |
Attribute.get(java.lang.String name,
java.util.List<Attribute> list)
Get the attribute with the specified name from the specified list.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Type.getAttribute(java.lang.String name)
Get the attribute with the specified name.
|
Attribute |
Type.getAttribute(java.lang.String name,
boolean forward)
Get the attribute with the specified name.
|
Attribute |
WrappedT.getAttribute(java.lang.String name,
boolean forward) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attribute> |
Type.attributes()
Get this type's attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Type.addAttribute(Attribute att)
Add the specified attribute.
|
Type |
Type.attribute(Attribute att)
Annotate this type with the specified attribute.
|
boolean |
Type.hasAttribute(Attribute att)
Determine whether this type or any wrapped type has the specified
attribute.
|
boolean |
Type.hasAttribute(Attribute att,
boolean forward)
Determine whether this type or any wrapped type has the specified
attribute.
|
boolean |
WrappedT.hasAttribute(Attribute att,
boolean forward) |
static boolean |
SourcePrinter.isPrintable(Attribute att)
Determine whether the specified attribute is printable.
|
boolean |
Type.removeAttribute(Attribute att)
Remove the specified attribute.
|
void |
SourcePrinter.visit(Attribute att)
Print the specified attribute.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
Type.attribute(java.util.List<Attribute> attributes)
Annotate this type with the specified attributes.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attribute> |
Runtime.getAttributeList(java.lang.String name)
Get the attribute list value of the specified option.
|
Copyright © 2014. All Rights Reserved.