UnaryOperator enum AST

A unary operator constant.

Inheritance

Constructors

UnaryOperator(String name, String operator)
const

Values

plus → const UnaryOperator

The numeric identity operator, +.

const UnaryOperator('plus', '+')
minus → const UnaryOperator

The numeric negation operator, -.

const UnaryOperator('minus', '-')
divide → const UnaryOperator

The leading slash operator, /.

This is a historical artifact.

const UnaryOperator('divide', '/')
not → const UnaryOperator

The boolean negation operator, not.

const UnaryOperator('not', 'not')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
The English name of this.
final
operator String
The Sass syntax for this.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

values → const List<UnaryOperator>
A constant List of the values in this enum, in order of their declaration.