Class ParsedLocalVariableExpression
java.lang.Object
org.openzen.zenscript.parser.expression.ParsedExpression
org.openzen.zenscript.parser.expression.ParsedLocalVariableExpression
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openzen.zenscript.parser.expression.ParsedExpression
ParsedExpression.ParsingOptions -
Field Summary
Fields inherited from class org.openzen.zenscript.parser.expression.ParsedExpression
position -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(ExpressionScope scope) Compiles the given parsed expression to a high-level expression or partial expression.booleanMethods inherited from class org.openzen.zenscript.parser.expression.ParsedExpression
compileKey, compileToSwitchValue, isCompatibleWith, parse, parse, toLambdaHeader, toLambdaParameter
-
Constructor Details
-
Method Details
-
compile
Description copied from class:ParsedExpressionCompiles the given parsed expression to a high-level expression or partial expression.If the asType parameter is provided, the given type determines the output type of the expression. The output type of the expression MUST in that case be equal to the given type.
- Specified by:
compilein classParsedExpression- Parameters:
scope-- Returns:
- Throws:
CompileException
-
hasStrongType
public boolean hasStrongType()- Specified by:
hasStrongTypein classParsedExpression
-