Class ParsedTypeExpression

java.lang.Object
org.openzen.zenscript.parser.expression.ParsedExpression
org.openzen.zenscript.parser.expression.ParsedTypeExpression

public class ParsedTypeExpression extends ParsedExpression
  • Constructor Details

  • Method Details

    • compile

      public IPartialExpression compile(ExpressionScope scope)
      Description copied from class: ParsedExpression
      Compiles 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:
      compile in class ParsedExpression
      Returns:
    • hasStrongType

      public boolean hasStrongType()
      Specified by:
      hasStrongType in class ParsedExpression