Package org.openrs2.deob.ast.util

Functions

Link copied to clipboard
fun IntegerLiteralExpr.checkedAsInt(): Int
Link copied to clipboard
fun LongLiteralExpr.checkedAsLong(): Long
Link copied to clipboard
fun Expression.countNots(): Int
Link copied to clipboard
fun BinaryExpr.Operator.flip(): BinaryExpr.Operator?
Link copied to clipboard
fun Expression.hasSideEffects(): Boolean
Link copied to clipboard
fun ResolvedType.isClass(): Boolean
Link copied to clipboard
fun Expression.isIntegerOrLongLiteral(): Boolean
Link copied to clipboard
fun ResolvedType.isString(): Boolean
Link copied to clipboard
fun Expression.negate(): Expression
Link copied to clipboard
fun Expression.not(): Expression
Link copied to clipboard
fun Int.toHexLiteralExpr(): IntegerLiteralExpr
fun Long.toHexLiteralExpr(): LongLiteralExpr
Link copied to clipboard
fun Long.toLongLiteralExpr(): LongLiteralExpr
Link copied to clipboard
inline fun <T : Node> Node.walk(crossinline consumer: (T) -> Unit)