Documentation ¶
Index ¶
- type BindingNode
- type CaseNode
- type CaseNodeNode
- type CatchNode
- type ConstNode
- type DefNode
- type DoNode
- type FnMethodNode
- type FnNode
- type GoBuiltinNode
- type GoNode
- type HostCallNode
- type HostFieldNode
- type HostInteropNode
- type IfNode
- type InvokeNode
- type LetFnNode
- type LetNode
- type LocalNode
- type MapNode
- type MaybeClassNode
- type MaybeHostFormNode
- type NewNode
- type Node
- type NodeOp
- type QuoteNode
- type RecurNode
- type SetBangNode
- type SetNode
- type TheVarNode
- type ThrowNode
- type TryNode
- type VarNode
- type VectorNode
- type WithMetaNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingNode ¶
type CaseNodeNode ¶
type FnMethodNode ¶
type GoBuiltinNode ¶
type HostFieldNode ¶
type HostInteropNode ¶
type InvokeNode ¶
type InvokeNode struct { Meta lang.IPersistentMap Fn *Node Args []*Node }
type MaybeClassNode ¶
type MaybeClassNode struct {
Class interface{}
}
type MaybeHostFormNode ¶
type Node ¶
type Node struct { // Benchmarking shows that switching on an integer op is faster // than type switching on a polymorphic interface or calling a // polymorphic method. Op NodeOp Form interface{} RawForms []interface{} Env lang.IPersistentMap // Sub is a pointer to an Op-specific struct. Sub interface{} IsLiteral bool IsAssignable bool }
type NodeOp ¶
type NodeOp int32
const ( OpUnknown NodeOp = iota OpConst OpDef OpSetBang OpMaybeClass OpWithMeta OpFn OpFnMethod OpMap OpVector OpSet OpDo OpLet OpLetFn OpLoop OpInvoke OpQuote OpVar OpLocal OpBinding OpHostCall OpHostInterop OpHostField OpMaybeHostForm OpGoBuiltin OpGo OpIf OpCase OpCaseNode OpTheVar OpRecur OpNew OpTry OpCatch OpThrow )
type SetBangNode ¶
type TheVarNode ¶
type VectorNode ¶
type VectorNode struct {
Items []*Node
}
type WithMetaNode ¶
Click to show internal directories.
Click to hide internal directories.