Documentation ¶
Index ¶
- type AnalyzedPackage
- type Const
- type EvalContext
- type ForeignFunc
- type Func
- type FuncValue
- type MetaArg
- type MetaBasicLit
- type MetaBinaryExpr
- type MetaBlockStmt
- type MetaBranchStmt
- type MetaCallAppend
- type MetaCallCap
- type MetaCallDelete
- type MetaCallExpr
- type MetaCallLen
- type MetaCallMake
- type MetaCallNew
- type MetaCallPanic
- type MetaCaseClause
- type MetaCompositLit
- type MetaConversionExpr
- type MetaExpr
- type MetaExprStmt
- type MetaForContainer
- type MetaForForStmt
- type MetaForRangeStmt
- type MetaForeignFuncWrapper
- type MetaGoStmt
- type MetaIdent
- type MetaIfStmt
- type MetaIndexExpr
- type MetaReturnStmt
- type MetaSelectorExpr
- type MetaSingleAssign
- type MetaSliceExpr
- type MetaStarExpr
- type MetaStmt
- type MetaStructLiteralElement
- type MetaSwitchStmt
- type MetaTupleAssign
- type MetaTypeAssertExpr
- type MetaTypeSwitchCaseClose
- type MetaTypeSwitchStmt
- type MetaUnaryExpr
- type MetaVarDecl
- type Method
- type NamedType
- type PackageVarConst
- type PkgContainer
- type QualifiedIdent
- type SLiteral
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzedPackage ¶
type EvalContext ¶
type ForeignFunc ¶
type MetaBasicLit ¶
type MetaBinaryExpr ¶
type MetaBlockStmt ¶
type MetaBranchStmt ¶
type MetaBranchStmt struct { Pos token.Pos ContainerForStmt *MetaForContainer ContinueOrBreak int // 1: continue, 2:break }
type MetaCallAppend ¶
type MetaCallCap ¶
type MetaCallDelete ¶
type MetaCallExpr ¶
type MetaCallExpr struct { Pos token.Pos Type *types.Type // result type Types []*types.Type // result types when tuple HasEllipsis bool FuncVal *FuncValue MetaArgs []*MetaArg }
general funcall
type MetaCallLen ¶
type MetaCallMake ¶
type MetaCallNew ¶
type MetaCallPanic ¶
type MetaCaseClause ¶
type MetaCompositLit ¶
type MetaConversionExpr ¶
type MetaExprStmt ¶
type MetaForContainer ¶
type MetaForContainer struct { Pos token.Pos LabelPost string // for continue LabelExit string // for break Outer *MetaForContainer Body *MetaBlockStmt ForRangeStmt *MetaForRangeStmt ForStmt *MetaForForStmt }
type MetaForForStmt ¶
type MetaForRangeStmt ¶
type MetaForeignFuncWrapper ¶
type MetaForeignFuncWrapper struct { Pos token.Pos QI QualifiedIdent FF *ForeignFunc }
type MetaGoStmt ¶
type MetaIfStmt ¶
type MetaIndexExpr ¶
type MetaSelectorExpr ¶
type MetaSingleAssign ¶
type MetaSliceExpr ¶
type MetaSwitchStmt ¶
type MetaSwitchStmt struct { Pos token.Pos Init MetaStmt Cases []*MetaCaseClause Tag MetaExpr }
type MetaTupleAssign ¶
type MetaTypeAssertExpr ¶
type MetaTypeSwitchCaseClose ¶
type MetaTypeSwitchStmt ¶
type MetaUnaryExpr ¶
type MetaVarDecl ¶
type MetaVarDecl struct { Pos token.Pos Single *MetaSingleAssign LhsType *types.Type }
type PackageVarConst ¶
type PackageVarConst struct { Spec *ast.ValueSpec Name *ast.Ident Val ast.Expr // can be nil MetaVal MetaExpr // can be nil Type *types.Type // cannot be nil MetaVar *MetaIdent // only for var }
Package vars or consts
type PkgContainer ¶
type QualifiedIdent ¶
type QualifiedIdent string
Click to show internal directories.
Click to hide internal directories.