mint.operator - Palamecia/mint GitHub Wiki

Module

load mint.operator

This module provides functions to perform operator calls.

Functions

Descriptions

addOperator

def (left, right)

Returns the result of the + operator applied to left and right.

andOperator

def (left, right)

Returns the result of the && operator applied to left and right.

bandOperator

def (left, right)

Returns the result of the & operator applied to left and right.

borOperator

def (left, right)

Returns the result of the | operator applied to left and right.

callMemberOperator

def (object, member, ...)

Returns the result of the () operator applied to member member of object as a member call. The member parameter can either be a member name of a member function of object. Extra arguments will be passed to the operator.

callOperator

def (func, ...)

Returns the result of the () operator applied to func. Extra arguments will be passed to the operator.

complOperator

def (value)

Returns the result of the ~ operator applied to value.

copyOperator

def (left, right)

Returns the result of the := operator applied to left and right.

divOperator

def (left, right)

Returns the result of the / operator applied to left and right.

eqOperator

def (left, right)

Returns the result of the == operator applied to left and right.

exclusiveRangeOperator

def (left, right)

Returns the result of the ... operator applied to left and right.

geOperator

def (left, right)

Returns the result of the >= operator applied to left and right.

gtOperator

def (left, right)

Returns the result of the > operator applied to left and right.

hashKeyCompareOperator

def (left, right)

Returns the priority of the hash of left on the hash of right.

inOperator

def (range)

Returns an iterator on the elements provided by the in operator applied to range.

def (range, value)

Returns the result of the in operator applied to range to search for value.

inclusiveRangeOperator

def (left, right)

Returns the result of the .. operator applied to left and right.

isOperator

def (left, right)

Returns the result of the is operator applied to left and right.

leOperator

def (left, right)

Returns the result of the <= operator applied to left and right.

ltOperator

def (left, right)

Returns the result of the < operator applied to left and right.

membersofOperator

def (value)

Returns the result of the membersof operator applied to value.

modOperator

def (left, right)

Returns the result of the % operator applied to left and right.

moveOperator

def (left, right)

Returns the result of the = operator applied to left and right.

mulOperator

def (left, right)

Returns the result of the * operator applied to left and right.

neOperator

def (left, right)

Returns the result of the != operator applied to left and right.

negOperator

def (value)

Returns the result of the - operator applied to value.

notOperator

def (value)

Returns the result of the ! operator applied to value.

orOperator

def (left, right)

Returns the result of the || operator applied to left and right.

posOperator

def (value)

Returns the result of the + operator applied to value.

postDecOperator

def (value)

Returns the result of the sufix -- operator applied to value.

postIncOperator

def (value)

Returns the result of the sufix ++ operator applied to value.

powOperator

def (left, right)

Returns the result of the ** operator applied to left and right.

preDecOperator

def (value)

Returns the result of the prefix -- operator applied to value.

preIncOperator

def (value)

Returns the result of the prefix ++ operator applied to value.

shiftLeftOperator

def (left, right)

Returns the result of the << operator applied to left and right.

shiftRightOperator

def (left, right)

Returns the result of the >> operator applied to left and right.

strictEqOperator

def (left, right)

Returns the result of the === operator applied to left and right.

strictNeOperator

def (left, right)

Returns the result of the !== operator applied to left and right.

subOperator

def (left, right)

Returns the result of the - operator applied to left and right.

subscriptMoveOperator

def (container, index, value)

Returns the result of the []= operator applied to container with the given index to set the element to value.

subscriptOperator

def (container, index)

Returns the result of the [] operator applied to container with the given index.

typeofOperator

def (value)

Returns the result of the typeof operator applied to value.

xorOperator

def (left, right)

Returns the result of the ^ operator applied to left and right.