Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstDecl ¶
type ConstDecl struct { Doc *Doc ID token.Token TypeRef *TypeRef Value *ConstValue }
type ConstValue ¶
type ConstValue struct {
Expr string
}
func (*ConstValue) RunPass ¶
func (v *ConstValue) RunPass(ctx *Context, pass Pass)
type Context ¶
type Context struct { *errlogger.ErrLoggerWrapper Analysis *analysis.Analysis }
func NewContext ¶
func NewContext(l *errlogger.ErrLoggerWrapper) *Context
type FuncParam ¶
type FuncParam struct { ID token.Token Type *TypeRef DefaultValue *ConstValue VarArg bool }
type ImportDecl ¶
func (*ImportDecl) RunPass ¶
func (d *ImportDecl) RunPass(ctx *Context, pass Pass)
type StructDecl ¶
func (*StructDecl) RunPass ¶
func (d *StructDecl) RunPass(ctx *Context, pass Pass)
type StructField ¶
func (*StructField) RunPass ¶
func (f *StructField) RunPass(ctx *Context, pass Pass)
Click to show internal directories.
Click to hide internal directories.