Class IntervalExpressionTransformer
- java.lang.Object
-
- gw.internal.gosu.ir.transform.AbstractElementTransformer<T>
-
- gw.internal.gosu.ir.transform.expression.AbstractExpressionTransformer<IntervalExpression>
-
- gw.internal.gosu.ir.transform.expression.IntervalExpressionTransformer
-
public class IntervalExpressionTransformer extends AbstractExpressionTransformer<IntervalExpression>
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.ir.transform.AbstractElementTransformer
CAPTURED_VAR_PREFIX, CTX_SYMBOL, CTX_SYMBOL_SUFFIX, CUSTOM_RUNTIMES, EMPTY_CLASS_ARRAY, ENHANCEMENT_THIS_REF, ENHANCEMENT_TYPE_PARAM_PREFIX, ENUM_PARAM_PREFIX, OBJECT_TYPE, OUTER_ACCESS, TYPE_PARAM_PREFIX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BigDecimalInterval
_makeBigDecimalInterval(Number lhs, Number rhs, BigDecimal step, boolean bLeftClosed, boolean bRightClosed)
static BigIntegerInterval
_makeBigIntegerInterval(BigInteger lhs, BigInteger rhs, BigInteger step, boolean bLeftClosed, boolean bRightClosed)
static ComparableInterval
_makeComparableInterval(Comparable lhs, Comparable rhs, boolean bLeftClosed, boolean bRightClosed)
static DateInterval
_makeDateInterval(Date lhs, Date rhs, Integer step, boolean bLeftClosed, boolean bRightClosed)
static IntegerInterval
_makeIntegerInterval(Object lhs, Object rhs, Integer step, boolean bLeftClosed, boolean bRightClosed)
static LongInterval
_makeLongInterval(Long lhs, Long rhs, Long step, boolean bLeftClosed, boolean bRightClosed)
static SequenceableInterval
_makeSequenceableInterval(ISequenceable lhs, ISequenceable rhs, boolean bLeftClosed, boolean bRightClosed)
static IRExpression
compile(TopLevelTransformationContext cc, IntervalExpression expr)
protected IRExpression
compile_impl()
-
Methods inherited from class gw.internal.gosu.ir.transform.expression.AbstractExpressionTransformer
_expr, compile, pushArgumentsNoCasting, pushArgumentsWithCasting, shortCircuitValue
-
Methods inherited from class gw.internal.gosu.ir.transform.AbstractElementTransformer
_cc, assignStructuralTypeOwner, avoidVerifyError, booleanLiteral, boxValue, boxValue, boxValueToType, buildAddition, buildArithmetic, buildArrayLength, buildArrayLoad, buildArrayLoad, buildArrayStore, buildAssignment, buildCast, buildComposite, buildComposite, buildEquals, buildFieldGet, buildFieldSet, buildGreaterThan, buildIf, buildIfElse, buildInitializedArray, buildMethodCall, buildMethodCall, buildMethodCall, buildNegation, buildNewExpression, buildNewExpression, buildNewExpression, buildNotEquals, buildNullCheckTernary, buildReturn, buildSubtraction, buildTernary, buildThrow, callMethod, callMethod, callMethod, callMethod, callMethod, callSpecialMethod, callSpecialMethod, callSpecialMethod, callStaticMethod, castResultingTypeIfNecessary, charLiteral, checkCast, checkCast, checkCast, classLiteral, classLiteral, classLiteral, clearCustomRuntimes, collectArgsIntoObjArray, convertBoxedNullToPrimitive, convertNullToPrimitive, convertOperandToBig, convertOperandToPrimitive, convertOperandToRational, exprList, fastStringCoercion, findComparableParamType, findDimensionType, getActualPropertyInfo, getCapturedSymbolParameterName, getClassInfos, getConcreteType, getConstructorParamTypes, getCustomRuntime, getDeclaredField, getDeclaredFieldImpl, getDeclaredMethod, getDeclaredMethod, getDefaultConstIns, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getEnclosingDFS, getField, getField_new, getGosuClass, getInstanceField, getIRTypes, getIRTypes, getModifiers, getParsedElement, getRuntimeEnclosingType, getStaticField, getTypes, getTypeVarParamName, getTypeVarsForDFS, handleCustomExpressionRuntime, handleNamedArgs, identifier, initLocalVar, initLocalVarWithDefault, initMultiArray, inStaticContext, isBigType, isBoxedIntType, isBytecodeType, isBytecodeType, isCheckedArithmeticEnabled, isCompilingEnhancement, isEnhancementType, isEvalProgram, isExecuteMethod, isHandledByCustomCoercion, isIntType, isMemberOnEnclosingType, isMemberOnEnhancementOfEnclosingType, isNonBigBoxedNumberType, isNonStaticInnerClass, isNumberType, isPrimitiveNumberType, isProgram, isProgramOrEnclosedInProgram, makeAnnotationInfos, makeArrayViaTypeInfo, makeEmptyArrayViaTypeInfo, makeIRSymbol, maybeUnwrapMetaType, newArray, nullCheckVar, nullLiteral, numberConvert, numberConvert, numericLiteral, pushArrayOfDefValueExpr, pushArrayOfString, pushArrayOfTypes, pushCapturedSymbols, pushConstant, pushEnumSuperConstructorArguments, pushExternalSymbolsMap, pushLazyType, pushLazyType, pushNull, pushOuter, pushOuter, pushOuter, pushParamTypes, pushRuntimeTypeOfTypeVar, pushString, pushThis, pushThisOrOuter, pushType, pushType, pushTypeParametersForConstructor, requiresExternalSymbolCapture, requiresImplicitEnhancementArg, requiresImplicitEnhancementArg, setCc, setField, setField, setInstanceField, setStaticField, stringLiteral, unboxValueFromType, unboxValueToType, unboxValueToType, valueOf
-
-
-
-
Method Detail
-
compile
public static IRExpression compile(TopLevelTransformationContext cc, IntervalExpression expr)
-
compile_impl
protected IRExpression compile_impl()
- Specified by:
compile_impl
in classAbstractExpressionTransformer<IntervalExpression>
-
_makeIntegerInterval
public static IntegerInterval _makeIntegerInterval(Object lhs, Object rhs, Integer step, boolean bLeftClosed, boolean bRightClosed)
-
_makeLongInterval
public static LongInterval _makeLongInterval(Long lhs, Long rhs, Long step, boolean bLeftClosed, boolean bRightClosed)
-
_makeBigIntegerInterval
public static BigIntegerInterval _makeBigIntegerInterval(BigInteger lhs, BigInteger rhs, BigInteger step, boolean bLeftClosed, boolean bRightClosed)
-
_makeBigDecimalInterval
public static BigDecimalInterval _makeBigDecimalInterval(Number lhs, Number rhs, BigDecimal step, boolean bLeftClosed, boolean bRightClosed)
-
_makeSequenceableInterval
public static SequenceableInterval _makeSequenceableInterval(ISequenceable lhs, ISequenceable rhs, boolean bLeftClosed, boolean bRightClosed)
-
_makeComparableInterval
public static ComparableInterval _makeComparableInterval(Comparable lhs, Comparable rhs, boolean bLeftClosed, boolean bRightClosed)
-
_makeDateInterval
public static DateInterval _makeDateInterval(Date lhs, Date rhs, Integer step, boolean bLeftClosed, boolean bRightClosed)
-
-