| Package | Description |
|---|---|
| gw.internal.gosu.parser | |
| gw.internal.gosu.parser.expressions | |
| gw.internal.gosu.parser.statements |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultParamValueLiteral |
class |
Expression
The root class for all Expressions represented in a parse tree as specified
in the Gosu grammar.
|
class |
ParenthesizedExpression |
class |
Statement
The root class for all Statements represented in a parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
ParsedElement |
ParseTree.getParsedElement() |
protected ParsedElement |
GosuParser.peekParsedElement() |
| Modifier and Type | Method and Description |
|---|---|
protected ISymbol |
ParserBase.captureSymbol(ICompilableTypeInternal anonClass,
String strName,
ParsedElement e) |
ParseTree |
ParserBase.findAndWrapLocation(Expression oldExpr,
ParsedElement newExpr) |
void |
ParseTree.initLocation(ParsedElement pe,
int iOffset,
int iLength) |
protected ISymbol |
ParserBase.resolveNamespaceSymbol(ParsedElement e,
String strName) |
protected ISymbol |
ParserBase.resolveSymbol(ParsedElement e,
String strName,
boolean ignoreFunctionSymbols) |
protected IType |
ParserBase.resolveType(ParsedElement parsedElement,
IType lhsType,
int op,
IType rhsType) |
protected IType |
ParserBase.resolveTypeForArithmeticExpression(ParsedElement parsedElement,
IType lhsType,
String op,
IType rhsType) |
protected IType |
ParserBase.verifyTypesComparable(ParsedElement element,
IType lhsType,
IType rhsType,
boolean bBiDirectional,
boolean bErrorIfCoercion) |
protected IType |
ParserBase.verifyTypesComparable(ParsedElement element,
IType lhsType,
IType rhsType,
boolean bBiDirectional,
boolean bErrorIfCoercion,
IParserState state) |
| Constructor and Description |
|---|
ParseTree(ParsedElement pe,
int iOffset,
int iLength,
IScriptPartId scriptPart) |
| Modifier and Type | Class and Description |
|---|---|
class |
AdditiveExpression
Represents an additive expression in the Gosu grammar:
|
class |
AnnotationExpression |
class |
AnnotationUseSiteTargetClause |
class |
ArgumentListClause |
class |
ArithmeticExpression
The base class for arithmetic expressions with binary operators e.g., + - * / %.
|
class |
ArrayAccess
Represents a member access expression in the Gosu grammar:
|
class |
BadInitializerExpression |
class |
BeanMethodCallExpression
An expression representing a bean method call:
|
class |
BinaryExpression |
class |
BindingExpression |
class |
BitshiftExpression
Represents a bitshift expression in the Gosu grammar:
|
class |
BitwiseAndExpression
Represents a bitwise OR expression in the Gosu grammar:
|
class |
BitwiseOrExpression
Represents a bitwise OR expression in the Gosu grammar:
|
class |
BitwiseXorExpression
Represents a bitwise OR expression in the Gosu grammar:
|
class |
BlockExpression
A block expression, representing an anonymous function/closure
|
class |
BlockInvocation
Gosu block invocation expression.
|
class |
BlockLiteral
Represents a Block literal expression as defined in the Gosu grammar.
|
class |
BooleanLiteral
A literal expression for Boolean values.
|
class |
CharLiteral
Represents a String literal expression as defined in the Gosu grammar.
|
class |
ClassDeclaration |
class |
CollectionInitializerExpression |
class |
CompoundTypeLiteral |
class |
ConditionalAndExpression
Represents a conditional AND expression in the Gosu grammar:
|
class |
ConditionalExpression
The base class for conditional expressions with logical operators e.g., && || ==.
|
class |
ConditionalOrExpression
Represents a conditional OR expression in the Gosu grammar:
|
class |
ConditionalTernaryExpression
Conditional Ternary Expression as specified in the Gosu.
|
class |
DefaultArgLiteral
The root (marker) class for all Literal expressions.
|
class |
DirectiveExpression |
class |
EqualityExpression
Represents an equality expression in the Gosu grammar:
|
class |
EvalExpression
The 'eval' operator as an expression:
|
class |
FeatureLiteral
Represents a feature literal expression as defined in the Gosu grammar.
|
class |
Identifier
Gosu identifier expression.
|
class |
IdentityExpression
Represents an identity expression in the Gosu grammar:
|
class |
ImplicitTypeAsExpression
An empty subtype of TypeAsExpression to indicate that this is an implicitly done coercion
|
class |
InferredNewExpression |
class |
InferredTypeLiteral |
class |
InitializerAssignment |
class |
InterfacesClause |
class |
InterfaceTypeLiteral |
class |
IntervalExpression
Represents an interval expression in the Gosu grammar:
|
class |
Literal
The root (marker) class for all Literal expressions.
|
class |
LocalVarDeclaration |
class |
MapAccess |
class |
MapInitializerExpression |
class |
MemberAccess
Represents a member access expression in the Gosu grammar:
|
class |
MemberExpansionAccess
Represents a member expansion access expression in the Gosu grammar:
|
class |
MethodCallExpression |
class |
ModifierListClause |
class |
MultiplicativeExpression
Represents a multiplicative expression in the Gosu grammar:
|
class |
NameInDeclaration |
class |
NewExpression
The 'new' operator as an expression:
|
class |
NotAWordExpression |
class |
NullExpression
An expression representing a 'null' expression i.e., the null keyword.
|
class |
NumericLiteral
An expression representing number literals as defined in the Gosu grammar.
|
class |
ObjectInitializerExpression |
class |
ParameterDeclaration |
class |
ParameterListClause |
class |
Program
An expression representing a Program:
|
class |
PropertyAccessIdentifier |
class |
PropertyAsMethodCallIdentifier
For backward compatibility when we exposed both properties and methods on java getters.
|
class |
RelationalExpression
Represents a relational expression in the Gosu grammar:
|
class |
StaticTypeOfExpression
Represents a StaticTypeOf expression as defined in the Gosu grammar.
|
class |
StringLiteral
Represents a String literal expression as defined in the Gosu grammar.
|
class |
SuperAccess
super'['
|
class |
SuperTypeClause |
class |
SynthesizedMemberAccess |
class |
TemplateStringLiteral |
class |
TypeAsExpression
Represents a typeas expression in the Gosu grammar:
|
class |
TypeIsExpression
Represents a typeis expression in the Gosu grammar:
|
class |
TypeLiteral
Represents a Type literal expression as defined in the Gosu grammar.
|
class |
TypeOfExpression
Represents a TypeOf expression as defined in the Gosu grammar.
|
class |
TypeParameterListClause |
class |
TypeVariableDefinition |
class |
TypeVariableExtendsListClause |
class |
TypeVariableListClause |
class |
UnaryExpression
Represents a unary expression as defined in the Gosu grammar.
|
class |
UnaryNotPlusMinusExpression
Represents a unary-not-plus-minus expression as defined in the Gosu grammar.
|
class |
UnqualifiedEnumMemberAccess |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayAssignmentStatement
Represents an array assignment statement in the Gosu grammar:
|
class |
AssertStatement |
class |
AssignmentStatement
Represents an assignment statement in the Gosu grammar:
|
class |
BeanMethodCallStatement
Represents a bean-method-call statement as specified in the Gosu grammar:
|
class |
BlockInvocationStatement |
class |
BreakStatement
Represents a break statement as specified in the Gosu grammar:
|
class |
CaseClause |
class |
CatchClause
Represents a try-catch-finally-statement as specified in the Gosu grammar:
|
class |
ClassFileStatement |
class |
ClasspathStatement |
class |
ClassStatement |
class |
ConstructorStatement |
class |
ContinueStatement
Represents a continue statement as specified in the Gosu grammar:
|
class |
DelegateStatement |
class |
DoWhileStatement
Represents an do-while-statement as specified in the Gosu grammar:
|
class |
EvalStatement |
class |
ExpressionStatement |
class |
ForEachStatement
Represents a foreach statement as specified in the Gosu grammar:
|
class |
FunctionStatement |
class |
HideFieldNoOpStatement |
class |
IfStatement
Represents an if-statement as specified in the Gosu grammar:
|
class |
LoopStatement |
class |
MapAssignmentStatement |
class |
MemberAssignmentStatement
Represents a member-assignment statement as specified in the Gosu grammar:
|
class |
MethodCallStatement
Represents a method-call statement as specified in the Gosu grammar:
|
class |
NamespaceStatement |
class |
NewStatement
Represents a method-call statement as specified in the Gosu grammar:
|
class |
NoOpStatement
Represents a noop statement as specified in the Gosu grammar:
|
class |
NotAStatement |
class |
PropertyStatement |
class |
ReturnStatement
Represents a return statement as specified in the Gosu grammar:
|
class |
StatementList
Represents a statement-list as specified in the Gosu grammar:
|
class |
SwitchStatement
Represents a switch-statement as specified in the Gosu grammar:
|
class |
SyntheticFunctionStatement |
class |
SyntheticMemberAccessStatement |
class |
TerminalStatement |
class |
ThrowStatement
Represents a throw-statement as specified in the Gosu grammar:
|
class |
TryCatchFinallyStatement
Represents a try-catch-finally-statement as specified in the Gosu grammar:
|
class |
TypeLoaderStatement |
class |
UsesStatement |
class |
UsesStatementList |
class |
UsingStatement
Represents the using-statement as specified in the Gosu grammar:
|
class |
VarStatement
Represents a var statement as specified in the Gosu grammar:
|
class |
WhileStatement
Represents an while-statement as specified in the Gosu grammar:
|
Copyright © 2019. All rights reserved.