Versions in this module Expand all Collapse all v0 v0.2.0 Sep 19, 2024 Changes in this version type ConstantNode + TargetType TypeNode type DefineFuncNode + IsExtern bool + type ExternNode struct + FuncNodes []*DefineFuncNode + func (en ExternNode) String() string + func (n *ExternNode) Node() type InitializeSliceNode + Cap Node + Len Node + type InitializeStringWithSliceNode struct + Items []Node + func (i InitializeStringWithSliceNode) String() string + func (n *InitializeStringWithSliceNode) Node() + type SwitchCaseNode struct + Body []Node + Conditions []Node + Fallthrough bool + func (n *SwitchCaseNode) Node() + func (s SwitchCaseNode) String() string + type SwitchNode struct + Cases []*SwitchCaseNode + DefaultBody []Node + Item Node + func (n *SwitchNode) Node() + func (s SwitchNode) String() string v0.1.0 Jun 23, 2024 Changes in this version + const OP_ADD + const OP_BIT_AND + const OP_BIT_CLEAR + const OP_BIT_OR + const OP_BIT_XOR + const OP_DIV + const OP_EQ + const OP_GT + const OP_GTEQ + const OP_LEFT_SHIFT + const OP_LOGICAL_AND + const OP_LOGICAL_OR + const OP_LT + const OP_LTEQ + const OP_MUL + const OP_NEQ + const OP_REMAINDER + const OP_RIGHT_SHIFT + const OP_SUB + type AllocGroup struct + Allocs []*AllocNode + func (an AllocGroup) String() string + func (n *AllocGroup) Node() + type AllocNode struct + Escapes bool + IsConst bool + Name []string + Type TypeNode + Val []Node + func (an AllocNode) String() string + func (n *AllocNode) Node() + type ArrayTypeNode struct + IsVariadic bool + ItemType TypeNode + Len int64 + SourceName string + func (atn ArrayTypeNode) GetName() string + func (atn ArrayTypeNode) SetName(name string) + func (atn ArrayTypeNode) String() string + func (atn ArrayTypeNode) Type() string + func (atn ArrayTypeNode) Variadic() bool + func (n *ArrayTypeNode) Node() + type AssignNode struct + Target []Node + Val []Node + func (an AssignNode) String() string + func (n *AssignNode) Node() + type BreakNode struct + func (n *BreakNode) Node() + func (n BreakNode) String() string + type CallNode struct + Arguments []Node + Function Node + func (cn CallNode) String() string + func (n *CallNode) Node() + type ConditionNode struct + Cond *OperatorNode + False []Node + True []Node + func (ConditionNode) String() string + func (n *ConditionNode) Node() + type ConstantNode struct + Type DataType + Value int64 + ValueStr string + func (cn ConstantNode) String() string + func (n *ConstantNode) Node() + type ContinueNode struct + func (n *ContinueNode) Node() + func (n ContinueNode) String() string + type DataType uint8 + const BOOL + const BYTE + const NUMBER + const STRING + type DeVariadicSliceNode struct + Item Node + func (i DeVariadicSliceNode) String() string + func (n *DeVariadicSliceNode) Node() + type DeclarePackageNode struct + PackageName string + func (d DeclarePackageNode) String() string + func (n *DeclarePackageNode) Node() + type DecrementNode struct + Item Node + func (i DecrementNode) String() string + func (n *DecrementNode) Node() + type DefineFuncNode struct + Arguments []*NameNode + Body []Node + InstanceName string + IsMethod bool + IsNamed bool + IsPointerReceiver bool + MethodOnType *SingleTypeNode + Name string + ReturnValues []*NameNode + func (dfn DefineFuncNode) String() string + func (n *DefineFuncNode) Node() + type DefineTypeNode struct + Name string + Type TypeNode + func (dtn DefineTypeNode) String() string + func (n *DefineTypeNode) Node() + type DereferenceNode struct + Item Node + func (dn DereferenceNode) String() string + func (n *DereferenceNode) Node() + type FileNode struct + Instructions []Node + func Parse(input []lexer.Item, options *option.Options) *FileNode + func (fn FileNode) String() string + func (n *FileNode) Node() + type ForNode struct + AfterIteration Node + BeforeLoop Node + Block []Node + Condition *OperatorNode + IsThreeTypeFor bool + func (f ForNode) String() string + func (n *ForNode) Node() + type FuncTypeNode struct + ArgTypes []TypeNode + IsVariadic bool + RetTypes []TypeNode + SourceName string + func (ftn FuncTypeNode) GetName() string + func (ftn FuncTypeNode) SetName(name string) + func (ftn FuncTypeNode) String() string + func (ftn FuncTypeNode) Type() string + func (ftn FuncTypeNode) Variadic() bool + func (n *FuncTypeNode) Node() + type GetReferenceNode struct + Item Node + func (grn GetReferenceNode) String() string + func (n *GetReferenceNode) Node() + type GroupNode struct + Item Node + func (i GroupNode) String() string + func (n *GroupNode) Node() + type ImportNode struct + PackagePaths []string + func (in ImportNode) String() string + func (n *ImportNode) Node() + type IncrementNode struct + Item Node + func (i IncrementNode) String() string + func (n *IncrementNode) Node() + type InitializeArrayNode struct + Items []Node + Size int + Type TypeNode + func (i InitializeArrayNode) String() string + func (n *InitializeArrayNode) Node() + type InitializeSliceNode struct + Items []Node + Type TypeNode + func (i InitializeSliceNode) String() string + func (n *InitializeSliceNode) Node() + type InitializeStructNode struct + Items map[string]Node + Type TypeNode + func (i InitializeStructNode) String() string + func (n *InitializeStructNode) Node() + type InterfaceMethod struct + ArgumentTypes []TypeNode + ReturnTypes []TypeNode + type InterfaceTypeNode struct + IsVariadic bool + Methods map[string]InterfaceMethod + SourceName string + func (itn InterfaceTypeNode) GetName() string + func (itn InterfaceTypeNode) SetName(name string) + func (itn InterfaceTypeNode) String() string + func (itn InterfaceTypeNode) Type() string + func (itn InterfaceTypeNode) Variadic() bool + func (n *InterfaceTypeNode) Node() + type LoadArrayElement struct + Array Node + Pos Node + func (l LoadArrayElement) String() string + func (n *LoadArrayElement) Node() + type MultiNameNode struct + Names []*NameNode + func (n *MultiNameNode) Node() + func (n MultiNameNode) String() string + type NameNode struct + Name string + Package string + Type TypeNode + func (n *NameNode) Node() + func (nn NameNode) String() string + type NegateNode struct + Item Node + func (n *NegateNode) Node() + func (nn NegateNode) String() string + type Node interface + Node func() + String func() string + func Walk(v Visitor, node Node) (r Node) + type Operator string + type OperatorNode struct + Left Node + Operator Operator + Right Node + func (n *OperatorNode) Node() + func (on OperatorNode) String() string + type PackageNode struct + Files []FileNode + Name string + func (n *PackageNode) Node() + type PointerTypeNode struct + IsVariadic bool + SourceName string + ValueType TypeNode + func (n *PointerTypeNode) Node() + func (ptn PointerTypeNode) GetName() string + func (ptn PointerTypeNode) SetName(name string) + func (ptn PointerTypeNode) String() string + func (ptn PointerTypeNode) Type() string + func (ptn PointerTypeNode) Variadic() bool + type PragmaNode struct + Version VersionScheme + func (n *PragmaNode) Node() + func (p PragmaNode) String() string + type RangeNode struct + Item Node + func (n *RangeNode) Node() + func (r RangeNode) String() string + type ReturnNode struct + Vals []Node + func (n *ReturnNode) Node() + func (rn ReturnNode) String() string + type SingleTypeNode struct + IsVariadic bool + PackageName string + SourceName string + TypeName string + func (n *SingleTypeNode) Node() + func (stn SingleTypeNode) GetName() string + func (stn SingleTypeNode) SetName(name string) + func (stn SingleTypeNode) String() string + func (stn SingleTypeNode) Type() string + func (stn SingleTypeNode) Variadic() bool + type SliceArrayNode struct + End Node + HasEnd bool + Start Node + Val Node + func (n *SliceArrayNode) Node() + func (san SliceArrayNode) String() string + type SliceTypeNode struct + IsVariadic bool + ItemType TypeNode + SourceName string + func (n *SliceTypeNode) Node() + func (stn SliceTypeNode) GetName() string + func (stn SliceTypeNode) SetName(name string) + func (stn SliceTypeNode) String() string + func (stn SliceTypeNode) Type() string + func (stn SliceTypeNode) Variadic() bool + type StructLoadElementNode struct + ElementName string + Struct Node + func (n *StructLoadElementNode) Node() + func (slen StructLoadElementNode) String() string + type StructTypeNode struct + IsVariadic bool + Names map[string]int + SourceName string + Types []TypeNode + func (n *StructTypeNode) Node() + func (stn StructTypeNode) GetName() string + func (stn StructTypeNode) SetName(name string) + func (stn StructTypeNode) String() string + func (stn StructTypeNode) Type() string + func (stn StructTypeNode) Variadic() bool + type SubNode struct + Item Node + func (n *SubNode) Node() + func (sn SubNode) String() string + type TypeCastInterfaceNode struct + Item Node + Type TypeNode + func (i TypeCastInterfaceNode) String() string + func (n *TypeCastInterfaceNode) Node() + type TypeCastNode struct + Type TypeNode + Val Node + func (n *TypeCastNode) Node() + func (tcn TypeCastNode) String() string + type TypeNode interface + GetName func() string + Node func() + SetName func(string) + String func() string + Type func() string + Variadic func() bool + type VersionScheme struct + Major int + Minor int + Patch int + func (n *VersionScheme) Node() + func (v VersionScheme) String() string + type Visitor interface + Visit func(node Node) (n Node, w Visitor) v0.0.0 Apr 6, 2024