Lua.AST.Expr.UnOp (Lua v1.0.0-rc.2)

View Source

Represents a unary operation.

Operators:

  • :not - logical not
  • :neg - arithmetic negation (-)
  • :len - length operator (#)

Summary

Types

op()

@type op() :: :not | :neg | :len | :bnot

t()

@type t() :: %Lua.AST.Expr.UnOp{
  meta: Lua.AST.Meta.t() | nil,
  op: op(),
  operand: Lua.AST.Expr.t()
}