Package | Description |
---|---|
com.whitestein.lsps.lang.antlr | |
com.whitestein.lsps.lang.ast | |
com.whitestein.lsps.lang.parser |
This package contains ANTLR-based LSPS language parser (
Parser ). |
Modifier and Type | Class and Description |
---|---|
class |
AntlrConstraint |
class |
AntlrFunction |
class |
DocNode |
Modifier and Type | Interface and Description |
---|---|
interface |
ASTInfo
Common AST expression properties.
|
interface |
ASTNode
Interface representing an AST node.
|
Modifier and Type | Class and Description |
---|---|
class |
AssignableExpression
Expression that can be assigned to,
i.e.
|
class |
AssignmentExpression |
class |
ASTInfoImpl
A simple implementation of
ASTInfo . |
class |
ASTNodeImpl |
class |
ASTRangeImpl |
class |
AstType |
class |
BlockExpression
A block expression.
|
class |
BreakExpression
"break" expression.
|
class |
CastExpression
A cast expression.
|
class |
ChainedExpression |
class |
ClosureExpression |
static class |
ClosureExpression.ClosureArgAst |
class |
ClosureInvocationExpression
Expression representing closure call.
|
class |
CompoundAssignmentExpression |
class |
ConditionalExpression |
class |
ConstantExpression
Expression representing a constant.
|
class |
ConstraintAst |
class |
ConstraintIdAst |
class |
ContainerExpression |
class |
ContextReferencingExpression |
class |
ContinueExpression
"continue" expression.
|
class |
CustomConstantExpression |
class |
DebugExpression
Expression with debug information.
|
class |
DefExpression |
class |
DereferenceExpression |
class |
EnumerationExpression |
class |
Expression |
class |
ForeachExpression
Foreach construct expression.
|
class |
ForExpression |
class |
FunctionAst |
class |
FunctionCallExpression
Expression representing a function call.
|
class |
FunctionCallWithNamedArgs
An expression represeting a function call with named arguments
For example:
myfunction(amount -> 100) . |
class |
FunctionExpression
Expression containing an operation.
|
class |
IdentifierAst |
class |
IfnullExpression |
class |
IncDecExpression
Increment or decrement expression.
|
class |
InstanceofExpression |
class |
ListExpression
Expression representing a list.
|
class |
LocalVarRange
A range used as data for local variables, iterators, closure parameters etc.
|
class |
MapExpression
Expression representing a map.
|
class |
MethodCallExpression
Expression representing a method call.
|
class |
MethodExpression
Expression representing record property access.
|
class |
MissingReturnExpression |
class |
ParameterAst
AST node for parameter.
|
class |
PropertyExpression
Expression representing record property access.
|
class |
PropertyLiteralExpression |
class |
QIDAst |
class |
RecordConstructorExpression |
class |
RecordExpression
Expression representing a record.
|
class |
ReferenceExpression |
class |
SetExpression
Expression representing a set.
|
class |
SignatureExpression
A common super class for
FunctionExpression and MethodExpression . |
class |
SuperConstructorExpression |
class |
SwitchExpression
A switch expression.
|
class |
SyntheticExpression |
class |
TaskParametersAst |
class |
ThisConstructorExpression |
class |
ThisExpression
This expression.
|
class |
TryCatchExpression |
class |
TypeAst |
class |
TypeExpression |
class |
TypeParameterAst |
class |
TypeParametersAst |
class |
UnknownExpression
This expression is used internally by the parser to denote expression
which is not valid or it could not be parsed completely, e.g.
|
class |
ValidationTag |
class |
ValidationTagAndExpression |
class |
ValidationTagExpression |
class |
ValidationTagNotExpression |
class |
ValidationTagOrExpression |
class |
ValidationTargetAst |
class |
VariableExpression
Expression representing fully qualified variable.
|
class |
WhileExpression
While construct expression.
|
Modifier and Type | Method and Description |
---|---|
ASTRange |
EnumerationExpression.getConstantRange()
Returns the range of the constant.
|
ASTRange |
PropertyLiteralExpression.getPropertyRange(int index)
Returns the range of the property identifier at the given index.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ASTRange> |
FunctionCallWithNamedArgs.getArgRanges()
Returns the map of parameter name ranges.
|
Map<String,ASTRange> |
RecordExpression.getFieldRanges()
Returns the map of field ranges.
|
Modifier and Type | Method and Description |
---|---|
String |
ASTNodeImpl.getText(ASTRange range) |
String |
ASTNode.getText(ASTRange range)
Returns the text specified by the given range.
|
Constructor and Description |
---|
ASTRangeImpl(ASTRange range) |
Modifier and Type | Method and Description |
---|---|
static ASTRange |
ParserUtil.getASTRange(org.antlr.runtime.tree.Tree tree)
Returns the AST range of the given tree.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.