cenum

package
v0.0.0-...-0e42c13 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NodeEnumSrtMap = [...]string{
		Include:        "include",
		FuncMain:       "main",
		FUNC:           "func",
		VAR:            "var",
		ASSIGN:         "assign",
		OPEXPR:         "opexpr",
		OBJECT:         "object",
		Rbrace:         "rbrace",
		BlankLine:      "blankline",
		Lbrace:         "lbrace",
		IF:             "if",
		ELSE:           "else",
		For:            "for",
		Call:           "call",
		FuncInit:       "init",
		Return:         "return",
		GOTO:           "goto",
		Label:          "label",
		Break:          "break",
		Continue:       "continue",
		Const:          "const",
		Struct:         "struct",
		ObjectsEnum:    "ObjectsEnum",
		SelfOpStmtEnum: "SelfOpStmtEnum",
		Switch:         "switch",
		Case:           "case",
		Default:        "default",
		Enum:           "Enum",
		IndexExprEnum:  "IndexExprEnum",
		Deref:          "Deref",
		Ir2:            "Ir2",
	}
)

Functions

This section is empty.

Types

type NodeEnum

type NodeEnum int
const (
	No NodeEnum = iota
	Include
	FuncMain
	FUNC
	VAR
	ASSIGN
	OPEXPR
	OBJECT
	Rbrace
	BlankLine
	Lbrace
	IF
	ELSE
	For
	Call
	FuncInit
	Return
	GOTO
	Label
	Break
	Continue
	Const
	Struct
	ObjectsEnum
	SelfOpStmtEnum
	Switch
	Case
	Default
	Enum
	IndexExprEnum
	Deref
	Ir2
)

func (NodeEnum) String

func (n NodeEnum) String() string

Jump to

Keyboard shortcuts

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