| Package | Description |
|---|---|
| gw.internal.gosu.ir.transform | |
| gw.internal.gosu.parser | |
| gw.internal.gosu.parser.expressions | |
| gw.internal.gosu.parser.java.classinfo | |
| gw.internal.gosu.parser.statements |
| Modifier and Type | Method and Description |
|---|---|
protected IRExpression |
AbstractElementTransformer.makeArrayViaTypeInfo(IType atomicType,
List<Expression> valueExpressions) |
protected IRExpression |
AbstractElementTransformer.makeEmptyArrayViaTypeInfo(IType atomicType,
List<Expression> sizeExpressions) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultParamValueLiteral |
class |
ParenthesizedExpression |
| Modifier and Type | Method and Description |
|---|---|
Expression |
GosuDocAnnotation.getExpression() |
Expression |
GosuAnnotation.getExpression() |
Expression |
ParenthesizedExpression.getExpression() |
static Expression |
ContextInferenceManager.getUnwrappedExpression(Expression expression)
If the expression is wrapped in ImplicitTypeAsExpressions, this will will unwrap them back
down to the original expression.
|
Expression |
GosuParser.parseExp(IScriptPartId partId) |
Expression |
GosuParser.parseExp(IScriptPartId partId,
IType expectedExpressionType) |
Expression |
GosuParser.parseExp(IScriptPartId partId,
IType expectedExpressionType,
IFileContext context,
boolean assignRuntime) |
protected Expression |
GosuParser.peekExpression() |
protected Expression |
ParserBase.peekExpression() |
Expression |
GosuParser.popExpression() |
protected Expression |
ParserBase.popExpression() |
protected Expression |
ParserBase.possiblyWrapWithCoercion(Expression expressionToCoerce,
IType typeToCoerceTo,
boolean bImplicit) |
protected Expression |
ParserBase.possiblyWrapWithImplicitCoercion(Expression expressionToCoerce,
IType typeToCoerceTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextInferenceManager.cancelInferences(Expression assignmentRoot,
Expression rhs) |
ParseTree |
ParserBase.findAndWrapLocation(Expression oldExpr,
ParsedElement newExpr) |
IConstructorType |
GosuParser.getConstructorType(IType classBean,
Expression[] eArgs,
List<IConstructorType> listAllMatchingMethods,
ParserBase parserState)
Get the type of the method specified in the member path.
|
IFunctionType |
GosuParser.getFunctionType(IType classBean,
String functionName,
Expression[] eArgs,
List<IFunctionType> listAllMatchingMethods,
GosuParser parser,
boolean bMatchParamTypes) |
static Expression |
ContextInferenceManager.getUnwrappedExpression(Expression expression)
If the expression is wrapped in ImplicitTypeAsExpressions, this will will unwrap them back
down to the original expression.
|
IType |
ContextInferenceManager.infer(Expression e) |
protected Expression |
ParserBase.possiblyWrapWithCoercion(Expression expressionToCoerce,
IType typeToCoerceTo,
boolean bImplicit) |
protected Expression |
ParserBase.possiblyWrapWithImplicitCoercion(Expression expressionToCoerce,
IType typeToCoerceTo) |
protected void |
GosuParser.pushExpression(Expression e) |
protected void |
ParserBase.pushExpression(Expression e) |
void |
IGosuProgramInternal.setExpression(Expression expr) |
void |
GosuProgram.setExpression(Expression expr) |
void |
GosuProgramParseInfo.setExpression(Expression expr) |
protected void |
ParserBase.setLocationForImplicitTypeAs(Expression expressionToCoerce,
TypeAsExpression tas) |
static IParsedElement |
ContextInferenceManager.unwrapImplicitTypeAs(Expression expression) |
void |
ContextInferenceManager.updateType(Expression expression,
IType typeIsType) |
protected void |
ParserBase.verifyComparable(IType lhsType,
Expression rhs) |
protected void |
ParserBase.verifyComparable(IType lhsType,
Expression rhs,
boolean bBiDirectional,
boolean bErrorIfCoercion) |
protected void |
ParserBase.verifyComparable(IType lhsType,
Expression rhs,
boolean bBiDirectional,
boolean bErrorIfCoercion,
IParserState state) |
void |
ParserBase.verifyNonVoidExpression(Expression eas) |
| Constructor and Description |
|---|
GosuAnnotation(ICompilableTypeInternal enclosingType,
IType type,
Expression expression,
int iOffset,
int end) |
ParenthesizedExpression(Expression expr) |
| Modifier and Type | Class and Description |
|---|---|
class |
AdditiveExpression
Represents an additive expression in the Gosu grammar:
|
class |
AnnotationExpression |
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 |
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 |
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 | Field and Description |
|---|---|
protected Expression |
ConditionalTernaryExpression._condition |
protected Expression |
UnaryExpression._expression |
protected Expression |
ConditionalTernaryExpression._first |
protected Expression |
TypeAsExpression._lhs |
protected Expression |
ArithmeticExpression._lhs
An expression for the operand on the left-hand-side of the operator.
|
protected Expression |
ArithmeticExpression._rhs
An expression for the operand on the right-hand-side of the operator.
|
protected Expression |
ConditionalTernaryExpression._second |
| Modifier and Type | Method and Description |
|---|---|
Expression[] |
MethodCallExpression.getArgs() |
Expression[] |
NewExpression.getArgs() |
Expression[] |
BeanMethodCallExpression.getArgs() |
Expression |
ConditionalTernaryExpression.getCondition() |
Expression |
UnaryNotPlusMinusExpression.getExpression() |
Expression |
StaticTypeOfExpression.getExpression() |
Expression |
UnaryExpression.getExpression() |
Expression |
TypeOfExpression.getExpression() |
Expression |
EvalExpression.getExpression() |
Expression |
ConditionalTernaryExpression.getFirst() |
Expression |
MapAccess.getKeyExpression() |
Expression |
TypeAsExpression.getLHS() |
Expression |
ArithmeticExpression.getLHS() |
Expression |
TypeIsExpression.getLHS() |
Expression |
BinaryExpression.getLHS() |
Expression |
ArrayAccess.getMemberExpression() |
Expression |
MemberAccess.getMemberExpression() |
Expression |
TypeLiteral.getPackageExpression()
This expression is of NamespaceType.
|
Expression |
InitializerAssignment.getRhs() |
Expression |
ArithmeticExpression.getRHS() |
Expression |
BinaryExpression.getRHS() |
Expression |
ArrayAccess.getRootExpression() |
Expression |
MemberAccess.getRootExpression() |
Expression |
MapAccess.getRootExpression() |
Expression |
BeanMethodCallExpression.getRootExpression() |
Expression |
ConditionalTernaryExpression.getSecond() |
| Modifier and Type | Method and Description |
|---|---|
List<Expression> |
NewExpression.getSizeExpressions() |
List<Expression> |
NewExpression.getValueExpressions() |
| Modifier and Type | Method and Description |
|---|---|
void |
CollectionInitializerExpression.add(Expression expression) |
void |
MapInitializerExpression.add(Expression key,
Expression value) |
void |
CollectionInitializerExpression.addFirst(Expression expression) |
void |
MapInitializerExpression.addFirst(Expression key,
Expression value) |
void |
NewExpression.addSizeExpression(Expression sizeExpression)
The size expression for the new array operation.
|
void |
MethodCallExpression.setArgs(Expression[] args) |
void |
NewExpression.setArgs(Expression[] args) |
void |
BeanMethodCallExpression.setArgs(Expression[] args) |
void |
ConditionalTernaryExpression.setCondition(Expression e) |
void |
UnaryNotPlusMinusExpression.setExpression(Expression e) |
void |
StaticTypeOfExpression.setExpression(Expression e) |
void |
UnaryExpression.setExpression(Expression e) |
void |
TypeOfExpression.setExpression(Expression e) |
void |
EvalExpression.setExpression(Expression expression)
The string expression containing Gosu code to evaluate/execute.
|
void |
ConditionalTernaryExpression.setFirst(Expression e) |
void |
MapAccess.setKeyExpression(Expression keyExpression) |
void |
TypeAsExpression.setLHS(Expression e) |
void |
ArithmeticExpression.setLHS(Expression e) |
void |
TypeIsExpression.setLHS(Expression e) |
void |
BinaryExpression.setLHS(Expression e) |
void |
ArrayAccess.setMemberExpression(Expression memberExpression) |
void |
MemberAccess.setMemberExpression(Expression memberExpression) |
void |
TypeLiteral.setPackageExpression(Expression packageExpr) |
void |
InitializerAssignment.setRhs(Expression rhs) |
void |
ArithmeticExpression.setRHS(Expression e) |
void |
BinaryExpression.setRHS(Expression e) |
void |
ArrayAccess.setRootExpression(Expression rootExpression) |
void |
MemberAccess.setRootExpression(Expression rootExpression) |
void |
MapAccess.setRootExpression(Expression rootExpression) |
void |
BeanMethodCallExpression.setRootExpression(Expression rootExpression) |
void |
ConditionalTernaryExpression.setSecond(Expression e) |
| Modifier and Type | Method and Description |
|---|---|
void |
NewExpression.setValueExpressions(List<Expression> valueExpressions)
The value expression for the new array operation.
|
| Constructor and Description |
|---|
FeatureLiteral(Expression rootExpr) |
IntervalExpression(boolean bLeftClosed,
boolean bRightClosed,
Expression lhsExpr,
Expression rhsExpr) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
JavaSourceDefaultValue.parse() |
| Modifier and Type | Class and Description |
|---|---|
class |
CaseClause |
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
NotAStatement._expr |
protected Expression |
ForEachStatement._expression |
protected Expression |
MapAssignmentStatement._expression
The right-hand-side expression
|
protected Expression |
AssignmentStatement._expression |
protected Expression |
WhileStatement._expression |
protected Expression |
DoWhileStatement._expression |
protected Expression |
ArrayAssignmentStatement._expression
The right-hand-side expression
|
protected Expression |
VarStatement._expression |
protected Expression |
IfStatement._expression |
protected Expression |
SwitchStatement._switchExpression |
| Modifier and Type | Method and Description |
|---|---|
Expression |
VarStatement.getAsExpression() |
Expression |
ThrowStatement.getExpression() |
Expression |
CaseClause.getExpression() |
Expression |
MapAssignmentStatement.getExpression() |
Expression |
NotAStatement.getExpression() |
Expression |
AssignmentStatement.getExpression() |
Expression |
WhileStatement.getExpression() |
Expression |
MemberAssignmentStatement.getExpression() |
Expression |
DoWhileStatement.getExpression() |
Expression |
UsingStatement.getExpression() |
Expression |
ArrayAssignmentStatement.getExpression() |
Expression |
IfStatement.getExpression() |
Expression |
ForEachStatement.getInExpression() |
Expression |
MemberAssignmentStatement.getMemberExpression() |
Expression |
MemberAssignmentStatement.getRootExpression() |
Expression |
SwitchStatement.getSwitchExpression() |
Expression |
ReturnStatement.getValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
VarStatement.setAsExpression(Expression expression) |
void |
ThrowStatement.setExpression(Expression expression) |
void |
CaseClause.setExpression(Expression expression) |
void |
MapAssignmentStatement.setExpression(Expression expression) |
void |
AssignmentStatement.setExpression(Expression expression) |
void |
WhileStatement.setExpression(Expression expression) |
void |
MemberAssignmentStatement.setExpression(Expression expression) |
void |
DoWhileStatement.setExpression(Expression expression) |
void |
ArrayAssignmentStatement.setExpression(Expression expression) |
void |
IfStatement.setExpression(Expression expression) |
void |
ForEachStatement.setInExpression(Expression expression) |
void |
MemberAssignmentStatement.setMemberExpression(Expression memberExpression) |
void |
MemberAssignmentStatement.setRootExpression(Expression rootExpression) |
void |
SwitchStatement.setSwitchExpression(Expression switchExpression) |
void |
ReturnStatement.setValue(Expression value) |
| Constructor and Description |
|---|
CaseClause(Expression e,
List<Statement> statements) |
Copyright © 2017. All rights reserved.