|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Locatable | |
|---|---|
| xtc.parser | |
| xtc.tree | |
| xtc.type | |
| Uses of Locatable in xtc.parser |
|---|
| Classes in xtc.parser that implement Locatable | |
|---|---|
class |
Action
A semantic action. |
class |
ActionBaseValue
Element to set the semantic value to the result of applying a list of actions. |
class |
AlternativeAddition
An alternative addition. |
class |
AlternativeRemoval
An alternative removal. |
class |
AnyChar
The any character element. |
class |
Binding
A binding of a grammar element to a variable. |
class |
BindingValue
Element to set the semantic value to a binding. |
class |
CharCase
A case within a character switch. |
class |
CharClass
A character class terminal. |
class |
CharLiteral
A character literal. |
class |
CharRange
A character range for a character classs. |
class |
CharSwitch
A character switch terminal. |
class |
CharTerminal
The superclass of all character terminals. |
class |
Element
The superclass of all grammar elements. |
class |
EmptyListValue
Element to set the semantic value to a new empty list. |
class |
FollowedBy
A followed-by predicate. |
class |
FullProduction
A complete production. |
class |
GenericActionValue
Element to set the semantic value to an action. |
class |
GenericNodeValue
Element to set the semantic value to a generic node. |
class |
GenericRecursionValue
Element to set the semantic value to a list of actions. |
class |
GenericValue
The superclass of all value elements specifying a generic node as the semantic value. |
class |
Grammar
A grammar represented as a collection of modules. |
class |
ListValue
The superclass of all value elements specifying a list as the semantic value. |
class |
Literal
The superclass of all literals. |
class |
Module
A grammar module. |
class |
ModuleDependency
A grammar module dependency. |
class |
ModuleImport
A grammar module import. |
class |
ModuleInstantiation
A grammar module instantiation. |
class |
ModuleList
A list of module names as a node. |
class |
ModuleModification
A grammar module modification. |
class |
ModuleName
A module name as a node. |
class |
Name
The superclass of all names. |
class |
NodeMarker
Element to set a generic node's name. |
class |
NonTerminal
A nonterminal. |
class |
NotFollowedBy
A not-followed-by predicate. |
class |
NullLiteral
A null literal representing a bindable null value. |
class |
NullValue
Element to set the semantic value to null. |
class |
Option
An optional grammar element. |
class |
OrderedChoice
An ordered choice of grammar elements. |
class |
ParserAction
A parser action. |
class |
ParseTreeNode
Element to create a parse tree node capturing formatting. |
class |
PartialProduction
A partial production. |
class |
Predicate
The superclass of all predicates. |
class |
Production
The superclass of full and partial productions. |
class |
ProductionOverride
A production override. |
class |
ProperListValue
Element to set the semantic value to a list. |
class |
Quantification
The superclass of repetitions and options. |
class |
Repetition
A repeated grammar element. |
class |
SemanticPredicate
A semantic predicate. |
class |
Sequence
A sequence of grammar elements. |
class |
SequenceName
A sequence name. |
class |
StringLiteral
A literal string terminal. |
class |
StringMatch
A match of a string to a grammar element. |
class |
StringValue
Element to set the semantic value to a string. |
class |
Terminal
The superclass of all terminals. |
class |
TokenValue
Element to collect a production's text as a token. |
class |
UnaryOperator
The superclass of all unary operators. |
class |
ValueElement
The superclass of all value elements. |
class |
VoidedElement
A voided element. |
| Methods in xtc.parser with type parameters of type Locatable | ||
|---|---|---|
protected
|
ParserBase.apply(Pair<Action<T>> actions,
T seed,
int index)
Apply the specified actions on the specified seed while also setting the results' locations. |
|
| Methods in xtc.parser with parameters of type Locatable | |
|---|---|
void |
ParserBase.setLocation(Locatable locatable,
int index)
Set the location for the specified locatable object. |
| Uses of Locatable in xtc.tree |
|---|
| Classes in xtc.tree that implement Locatable | |
|---|---|
class |
Annotation
The superclass of all annotations. |
class |
Attribute
A name/value pair. |
class |
Comment
A source code comment. |
class |
Formatting
An annotation capturing source code formatting. |
class |
GNode
A generic node in an abstract syntax tree. |
class |
LineMarker
A line marker (as used by GCC). |
class |
Node
A node in an abstract syntax tree. |
class |
Pragma
A pragma. |
class |
SourceIdentity
A source identity marker. |
class |
TextToken
A token with an explicit text. |
class |
Token
A token. |
| Methods in xtc.tree with parameters of type Locatable | |
|---|---|
Printer |
Printer.lineUp(Locatable locatable)
Line this printer up at the specified locatable object's location. |
Printer |
Printer.lineUp(Locatable locatable,
int before)
Line this printer up at the specified number of characters before the specified locatable object's location, |
Printer |
Printer.loc(Locatable locatable)
Print the location for the specified locatable object. |
void |
Locatable.setLocation(Locatable locatable)
Set this object's location to the specified locatable's location. |
void |
Node.setLocation(Locatable locatable)
|
| Uses of Locatable in xtc.type |
|---|
| Classes in xtc.type that implement Locatable | |
|---|---|
class |
AliasT
A type alias. |
class |
AnnotatedT
An annotated type. |
class |
ArrayT
An array type. |
class |
BooleanT
A boolean type. |
class |
ClassOrInterfaceT
The superclass of class and interface types. |
class |
ClassT
A class type. |
class |
DerivedT
The superclass of all derived types. |
class |
EnumeratorT
An enumerator. |
class |
EnumT
An enumerated type. |
class |
ErrorT
The pseudo-type indicating a malformed type. |
class |
FloatT
A floating point type. |
class |
FunctionOrMethodT
The superclass of function and method types. |
class |
FunctionT
A function type. |
class |
InstantiatedT
An instantiated type. |
class |
IntegerT
An integer type. |
class |
InterfaceT
An interface type. |
class |
InternalParameter
An internal parameter. |
class |
InternalT
An internal type, identified by its name. |
class |
LabelT
A label type. |
class |
MethodT
A method type. |
class |
NamedParameter
A named parameter. |
class |
NumberT
The superclass of all number types. |
class |
PackageT
A package type. |
class |
Parameter
The superclass of all type parameters. |
class |
ParameterizedT
A parameterized type. |
class |
PointerT
A pointer type. |
class |
StructOrUnionT
The superclass of struct and union types. |
class |
StructT
A struct type. |
class |
TupleT
A tuple type. |
class |
Type
The superclass of all types. |
class |
UnionT
A union type. |
class |
UnitT
A unit type. |
class |
VariableT
A variable. |
class |
VariantT
A variant type. |
class |
VoidT
A void type. |
class |
Wildcard
A type wildcard. |
class |
WrappedT
The superclass of all wrapped types. |
| Methods in xtc.type with parameters of type Locatable | |
|---|---|
Type |
Type.locate(Locatable locatable)
Set this type's location. |
void |
Type.setLocation(Locatable locatable)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||