wag: github.com/tsavola/wag/internal/gen/condition Index | Files

package condition

import "github.com/tsavola/wag/internal/gen/condition"

Index

Package Files

condition.go

Constants

const (
    Eq  = C(iota)
    Ne
    GeS
    GtS
    GeU
    GtU
    LeS
    LtS
    LeU
    LtU

    OrderedAndEq
    OrderedAndNe
    OrderedAndGe
    OrderedAndGt
    OrderedAndLe
    OrderedAndLt

    UnorderedOrEq
    UnorderedOrNe
    UnorderedOrGe
    UnorderedOrGt
    UnorderedOrLe
    UnorderedOrLt
)
const (
    MinOrderedAndCondition  = OrderedAndEq
    MinUnorderedOrCondition = UnorderedOrEq
)

Variables

var Inverted = [22]C{
    Eq:            Ne,
    Ne:            Eq,
    GeS:           LtS,
    GtS:           LeS,
    GeU:           LtU,
    GtU:           LeU,
    LeS:           GtS,
    LtS:           GeS,
    LeU:           GtU,
    LtU:           GeU,
    OrderedAndEq:  UnorderedOrNe,
    OrderedAndNe:  UnorderedOrEq,
    OrderedAndGe:  UnorderedOrLt,
    OrderedAndGt:  UnorderedOrLe,
    OrderedAndLe:  UnorderedOrGt,
    OrderedAndLt:  UnorderedOrGe,
    UnorderedOrEq: OrderedAndNe,
    UnorderedOrNe: OrderedAndEq,
    UnorderedOrGe: OrderedAndLt,
    UnorderedOrGt: OrderedAndLe,
    UnorderedOrLe: OrderedAndGt,
    UnorderedOrLt: OrderedAndGe,
}

type C Uses

type C int

func (C) String Uses

func (f C) String() string

Package condition is imported by 5 packages. Updated 2018-10-13. Refresh now. Tools for package owners.