Expression class abstract

Implementers

Constructors

Expression(OutputType? type)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type OutputType?
final

Methods

and(Expression rhs) BinaryOperatorExpr
bigger(Expression rhs) BinaryOperatorExpr
biggerEquals(Expression rhs) BinaryOperatorExpr
callFn(List<Expression> params, {List<NamedExpr> namedParams = const [], List<OutputType> typeArguments = const []}) InvokeFunctionExpr
callMethod(dynamic name, List<Expression> params, {bool checked = false, List<NamedExpr> namedParams = const []}) InvokeMethodExpr
Calls a method on an expression result.
cast(OutputType type) Expression
conditional(Expression trueCase, Expression falseCase) ConditionalExpr
divide(Expression rhs) BinaryOperatorExpr
equals(Expression rhs) BinaryOperatorExpr
identical(Expression rhs) BinaryOperatorExpr
ifNull(Expression nullCase) IfNullExpr
instantiate(List<Expression> params, {List<NamedExpr> namedParams = const [], OutputType? type, List<OutputType>? genericTypes}) InstantiateExpr
isBlank() Expression
key(Expression index, [OutputType? type]) ReadKeyExpr
lower(Expression rhs) BinaryOperatorExpr
lowerEquals(Expression rhs) BinaryOperatorExpr
minus(Expression rhs) BinaryOperatorExpr
modulo(Expression rhs) BinaryOperatorExpr
multiply(Expression rhs) BinaryOperatorExpr
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(Expression rhs) BinaryOperatorExpr
notIdentical(Expression rhs) BinaryOperatorExpr
notNull() NotNullExpr
or(Expression rhs) BinaryOperatorExpr
plus(Expression rhs) BinaryOperatorExpr
prop(String name, {bool checked = false}) ReadPropExpr
spread() SpreadExpr
toStmt() Statement
toString() String
A string representation of this object.
inherited
visitExpression<R, C>(ExpressionVisitor<R, C> visitor, C context) → R

Operators

operator ==(Object other) bool
The equality operator.
inherited