Package | Description |
---|---|
com.whitestein.lsps.lang.antlr | |
com.whitestein.lsps.lang.ast | |
com.whitestein.lsps.lang.exception | |
com.whitestein.lsps.lang.parser |
This package contains ANTLR-based LSPS language parser (
Parser ). |
Modifier and Type | Class and Description |
---|---|
class |
AntlrFunction |
class |
DocNode |
Modifier and Type | Method and Description |
---|---|
static AntlrFunction |
AntlrFunction.createConstructor(ASTNode info,
org.antlr.runtime.tree.Tree tree,
Annotations annotations,
org.antlr.runtime.tree.Tree visibility,
AntlrSignature signature,
org.antlr.runtime.tree.Tree body,
DocNode doc) |
static AntlrFunction |
AntlrFunction.createFunction(ASTNode info,
org.antlr.runtime.tree.Tree tree,
Annotations annotations,
org.antlr.runtime.tree.Tree visibility,
AntlrSignature signature,
org.antlr.runtime.tree.Tree body,
DocNode doc) |
static AntlrFunction |
AntlrFunction.createMethod(ASTNode info,
org.antlr.runtime.tree.Tree tree,
Annotations annotations,
boolean isAbstract,
boolean isStatic,
org.antlr.runtime.tree.Tree visibility,
AntlrSignature signature,
org.antlr.runtime.tree.Tree body,
DocNode doc) |
Modifier and Type | Interface and Description |
---|---|
interface |
ASTInfo
Common AST expression properties.
|
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 |
BlockExpression
A block expression.
|
class |
BreakExpression
"break" expression.
|
class |
CastExpression
A cast expression.
|
class |
ChainedExpression |
class |
ClosureCallExpression
Expression representing closure call.
|
class |
ClosureExpression |
class |
CompoundAssignmentExpression |
class |
ConditionalExpression |
class |
ConstantExpression
Expression representing a constant.
|
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 |
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 |
MapExpression
Expression representing a map.
|
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 |
VariableExpression
Expression representing fully qualified variable.
|
class |
WhileExpression
While construct expression.
|
Constructor and Description |
---|
ASTNodeImpl(ASTNode node)
Constructs a new ast node.
|
IdentifierAst(ASTNode node,
String identifier) |
ParameterAst(ASTNode node,
IdentifierAst parameter,
int expressionStartIndex,
int expressionEndIndex,
Expression expression,
org.antlr.runtime.tree.Tree expressionTree)
Constructor.
|
QIDAst(ASTNode node,
QID qid) |
TaskParametersAst(ASTNode node,
List<ParameterAst> parameters)
Creates a constraint instance.
|
TypeAst(ASTNode node,
Type type) |
TypeParameterAst(ASTNode node,
IdentifierAst name,
TypeAst bound) |
TypeParametersAst(ASTNode node) |
TypeParametersAst(ASTNode node,
List<TypeParameterAst> parameters) |
Constructor and Description |
---|
ValidationException(String message,
ASTNode ast)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected ASTNode |
ParserBase.getASTNode(org.antlr.runtime.tree.Tree tree) |
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.