ast

package
v0.0.0-...-9c3cbc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeNode

type AttributeNode struct {
	Val  string
	Type scanner.TokenType
}

type CoClassNode

type CoClassNode struct {
	Name       string
	Attributes []*AttributeNode
	Interfaces []*InterfaceNode
}

type ConstdefNode

type ConstdefNode struct {
	Name string
	Type string
	Val  interface{}
}

type EnumNode

type EnumNode struct {
	Name   string
	Values []*EnumValueNode
}

type EnumValueNode

type EnumValueNode struct {
	Name string
	Val  string
}

type ImportLibNode

type ImportLibNode struct {
	Filename string
}

type ImportNode

type ImportNode struct {
	Files []string
}

type InterfaceNode

type InterfaceNode struct {
	Name       string
	ParentName string
	Attributes []*AttributeNode
	Methods    []*MethodNode
}

type LibraryNode

type LibraryNode struct {
	Name       string
	Attributes []*AttributeNode
	Nodes      []interface{}
}

type MethodNode

type MethodNode struct {
	Name       string
	ReturnType *ReturnNode
	Params     []*ParamNode
}

type ModuleConstantNode

type ModuleConstantNode struct {
	Name string
	Val  string
}

type ModuleNode

type ModuleNode struct {
	Name  string
	Nodes []interface{}
}

type ParamAttrNode

type ParamAttrNode struct {
	Val  string
	Type scanner.TokenType
}

type ParamNode

type ParamNode struct {
	Attributes   []*ParamAttrNode
	Type         string
	Indirections int
	Name         string
	Array        bool
}

type ReturnNode

type ReturnNode struct {
	Type         string
	Indirections int
	Array        bool
}

type StructFieldNode

type StructFieldNode struct {
	Type         string
	Name         string
	Indirections int
	Attributes   []*ParamAttrNode
}

type StructNode

type StructNode struct {
	Name   string
	Alias  []string
	Fields []*StructFieldNode
}

type TypedefNode

type TypedefNode struct {
	Name        string
	Type        string
	Indirection int
	Attributes  []*AttributeNode
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL