ast2

package
v0.0.0-...-a214d60 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASSIGNNode

type ASSIGNNode = ast.ASSIGNNode

type CallNode

type CallNode = ast.CallNode

type ElseNode

type ElseNode = ast.ElseNode

type Expr

type Expr = ast.Expr

type FuncInfo

type FuncInfo = ast.FuncInfo

type FuncNode

type FuncNode = ast.FuncNode

type IfNode

type IfNode = ast.IfNode

type Node

type Node = ast.Node

type Object

type Object = ast.Object

type RbraceNode

type RbraceNode = ast.RbraceNode

type ReturnNode

type ReturnNode = ast.ReturnNode

type Sbt

type Sbt = ast.Sbt

type SelfOpStmt

type SelfOpStmt = ast.SelfOpStmt

type Tree

type Tree struct {

	//包名
	PackageName string
	//文件名称
	Filename string
	//所有节点
	Nodes []Node

	//符号表
	Sbt *Sbt
	// contains filtered or unexported fields
}

func NewTree

func NewTree(l *lex2.FileToken, path string, errctx *errcode.ErrCtx, thread bool) *Tree

func (*Tree) Parser

func (t *Tree) Parser()

func (*Tree) String

func (t *Tree) String() string

type VarNode

type VarNode = ast.VarNode

Jump to

Keyboard shortcuts

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