Documentation ¶
Index ¶
- Variables
- type ArrayType
- func (*ArrayType) Descriptor() ([]byte, []int)
- func (m *ArrayType) GetElt() *Expr
- func (m *ArrayType) GetLbrack() int32
- func (m *ArrayType) GetLen() *Expr
- func (m *ArrayType) GetTypeRef() *TypeRef
- func (*ArrayType) ProtoMessage()
- func (m *ArrayType) Reset()
- func (m *ArrayType) String() string
- func (m *ArrayType) XXX_DiscardUnknown()
- func (m *ArrayType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ArrayType) XXX_Merge(src proto.Message)
- func (m *ArrayType) XXX_Size() int
- func (m *ArrayType) XXX_Unmarshal(b []byte) error
- type AssignStmt
- func (*AssignStmt) Descriptor() ([]byte, []int)
- func (m *AssignStmt) GetLhs() []*Expr
- func (m *AssignStmt) GetRhs() []*Expr
- func (m *AssignStmt) GetTok() Token
- func (m *AssignStmt) GetTokPos() int32
- func (*AssignStmt) ProtoMessage()
- func (m *AssignStmt) Reset()
- func (m *AssignStmt) String() string
- func (m *AssignStmt) XXX_DiscardUnknown()
- func (m *AssignStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssignStmt) XXX_Merge(src proto.Message)
- func (m *AssignStmt) XXX_Size() int
- func (m *AssignStmt) XXX_Unmarshal(b []byte) error
- type BadDecl
- func (*BadDecl) Descriptor() ([]byte, []int)
- func (m *BadDecl) GetFrom() int32
- func (m *BadDecl) GetTo() int32
- func (*BadDecl) ProtoMessage()
- func (m *BadDecl) Reset()
- func (m *BadDecl) String() string
- func (m *BadDecl) XXX_DiscardUnknown()
- func (m *BadDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BadDecl) XXX_Merge(src proto.Message)
- func (m *BadDecl) XXX_Size() int
- func (m *BadDecl) XXX_Unmarshal(b []byte) error
- type BadExpr
- func (*BadExpr) Descriptor() ([]byte, []int)
- func (m *BadExpr) GetFrom() int32
- func (m *BadExpr) GetTo() int32
- func (m *BadExpr) GetTypeRef() *TypeRef
- func (*BadExpr) ProtoMessage()
- func (m *BadExpr) Reset()
- func (m *BadExpr) String() string
- func (m *BadExpr) XXX_DiscardUnknown()
- func (m *BadExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BadExpr) XXX_Merge(src proto.Message)
- func (m *BadExpr) XXX_Size() int
- func (m *BadExpr) XXX_Unmarshal(b []byte) error
- type BadStmt
- func (*BadStmt) Descriptor() ([]byte, []int)
- func (m *BadStmt) GetFrom() int32
- func (m *BadStmt) GetTo() int32
- func (*BadStmt) ProtoMessage()
- func (m *BadStmt) Reset()
- func (m *BadStmt) String() string
- func (m *BadStmt) XXX_DiscardUnknown()
- func (m *BadStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BadStmt) XXX_Merge(src proto.Message)
- func (m *BadStmt) XXX_Size() int
- func (m *BadStmt) XXX_Unmarshal(b []byte) error
- type BasicLit
- func (*BasicLit) Descriptor() ([]byte, []int)
- func (m *BasicLit) GetKind() Token
- func (m *BasicLit) GetTypeRef() *TypeRef
- func (m *BasicLit) GetValue() string
- func (m *BasicLit) GetValuePos() int32
- func (*BasicLit) ProtoMessage()
- func (m *BasicLit) Reset()
- func (m *BasicLit) String() string
- func (m *BasicLit) XXX_DiscardUnknown()
- func (m *BasicLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BasicLit) XXX_Merge(src proto.Message)
- func (m *BasicLit) XXX_Size() int
- func (m *BasicLit) XXX_Unmarshal(b []byte) error
- type BinaryExpr
- func (*BinaryExpr) Descriptor() ([]byte, []int)
- func (m *BinaryExpr) GetOp() Token
- func (m *BinaryExpr) GetOpPos() int32
- func (m *BinaryExpr) GetTypeRef() *TypeRef
- func (m *BinaryExpr) GetX() *Expr
- func (m *BinaryExpr) GetY() *Expr
- func (*BinaryExpr) ProtoMessage()
- func (m *BinaryExpr) Reset()
- func (m *BinaryExpr) String() string
- func (m *BinaryExpr) XXX_DiscardUnknown()
- func (m *BinaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BinaryExpr) XXX_Merge(src proto.Message)
- func (m *BinaryExpr) XXX_Size() int
- func (m *BinaryExpr) XXX_Unmarshal(b []byte) error
- type BlockStmt
- func (*BlockStmt) Descriptor() ([]byte, []int)
- func (m *BlockStmt) GetLbrace() int32
- func (m *BlockStmt) GetList() []*Stmt
- func (m *BlockStmt) GetRbrace() int32
- func (*BlockStmt) ProtoMessage()
- func (m *BlockStmt) Reset()
- func (m *BlockStmt) String() string
- func (m *BlockStmt) XXX_DiscardUnknown()
- func (m *BlockStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockStmt) XXX_Merge(src proto.Message)
- func (m *BlockStmt) XXX_Size() int
- func (m *BlockStmt) XXX_Unmarshal(b []byte) error
- type BranchStmt
- func (*BranchStmt) Descriptor() ([]byte, []int)
- func (m *BranchStmt) GetLabel() *Ident
- func (m *BranchStmt) GetTok() Token
- func (m *BranchStmt) GetTokPos() int32
- func (*BranchStmt) ProtoMessage()
- func (m *BranchStmt) Reset()
- func (m *BranchStmt) String() string
- func (m *BranchStmt) XXX_DiscardUnknown()
- func (m *BranchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BranchStmt) XXX_Merge(src proto.Message)
- func (m *BranchStmt) XXX_Size() int
- func (m *BranchStmt) XXX_Unmarshal(b []byte) error
- type CallExpr
- func (*CallExpr) Descriptor() ([]byte, []int)
- func (m *CallExpr) GetArgs() []*Expr
- func (m *CallExpr) GetEllipsis() int32
- func (m *CallExpr) GetFun() *Expr
- func (m *CallExpr) GetLparen() int32
- func (m *CallExpr) GetRparen() int32
- func (m *CallExpr) GetTypeRef() *TypeRef
- func (*CallExpr) ProtoMessage()
- func (m *CallExpr) Reset()
- func (m *CallExpr) String() string
- func (m *CallExpr) XXX_DiscardUnknown()
- func (m *CallExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallExpr) XXX_Merge(src proto.Message)
- func (m *CallExpr) XXX_Size() int
- func (m *CallExpr) XXX_Unmarshal(b []byte) error
- type CaseClause
- func (*CaseClause) Descriptor() ([]byte, []int)
- func (m *CaseClause) GetBody() []*Stmt
- func (m *CaseClause) GetCase() int32
- func (m *CaseClause) GetColon() int32
- func (m *CaseClause) GetList() []*Expr
- func (*CaseClause) ProtoMessage()
- func (m *CaseClause) Reset()
- func (m *CaseClause) String() string
- func (m *CaseClause) XXX_DiscardUnknown()
- func (m *CaseClause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CaseClause) XXX_Merge(src proto.Message)
- func (m *CaseClause) XXX_Size() int
- func (m *CaseClause) XXX_Unmarshal(b []byte) error
- type ChanType
- func (*ChanType) Descriptor() ([]byte, []int)
- func (m *ChanType) GetArrow() int32
- func (m *ChanType) GetBegin() int32
- func (m *ChanType) GetRecvDir() bool
- func (m *ChanType) GetSendDir() bool
- func (m *ChanType) GetTypeRef() *TypeRef
- func (m *ChanType) GetValue() *Expr
- func (*ChanType) ProtoMessage()
- func (m *ChanType) Reset()
- func (m *ChanType) String() string
- func (m *ChanType) XXX_DiscardUnknown()
- func (m *ChanType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChanType) XXX_Merge(src proto.Message)
- func (m *ChanType) XXX_Size() int
- func (m *ChanType) XXX_Unmarshal(b []byte) error
- type CommClause
- func (*CommClause) Descriptor() ([]byte, []int)
- func (m *CommClause) GetBody() []*Stmt
- func (m *CommClause) GetCase() int32
- func (m *CommClause) GetColon() int32
- func (m *CommClause) GetComm() *Stmt
- func (*CommClause) ProtoMessage()
- func (m *CommClause) Reset()
- func (m *CommClause) String() string
- func (m *CommClause) XXX_DiscardUnknown()
- func (m *CommClause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommClause) XXX_Merge(src proto.Message)
- func (m *CommClause) XXX_Size() int
- func (m *CommClause) XXX_Unmarshal(b []byte) error
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)
- func (m *Comment) GetSlash() int32
- func (m *Comment) GetText() string
- func (*Comment) ProtoMessage()
- func (m *Comment) Reset()
- func (m *Comment) String() string
- func (m *Comment) XXX_DiscardUnknown()
- func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Comment) XXX_Merge(src proto.Message)
- func (m *Comment) XXX_Size() int
- func (m *Comment) XXX_Unmarshal(b []byte) error
- type CommentGroup
- func (*CommentGroup) Descriptor() ([]byte, []int)
- func (m *CommentGroup) GetList() []*Comment
- func (*CommentGroup) ProtoMessage()
- func (m *CommentGroup) Reset()
- func (m *CommentGroup) String() string
- func (m *CommentGroup) XXX_DiscardUnknown()
- func (m *CommentGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommentGroup) XXX_Merge(src proto.Message)
- func (m *CommentGroup) XXX_Size() int
- func (m *CommentGroup) XXX_Unmarshal(b []byte) error
- type CompositeLit
- func (*CompositeLit) Descriptor() ([]byte, []int)
- func (m *CompositeLit) GetElts() []*Expr
- func (m *CompositeLit) GetLbrace() int32
- func (m *CompositeLit) GetRbrace() int32
- func (m *CompositeLit) GetType() *Expr
- func (m *CompositeLit) GetTypeRef() *TypeRef
- func (*CompositeLit) ProtoMessage()
- func (m *CompositeLit) Reset()
- func (m *CompositeLit) String() string
- func (m *CompositeLit) XXX_DiscardUnknown()
- func (m *CompositeLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CompositeLit) XXX_Merge(src proto.Message)
- func (m *CompositeLit) XXX_Size() int
- func (m *CompositeLit) XXX_Unmarshal(b []byte) error
- type ConstantValue
- func (*ConstantValue) Descriptor() ([]byte, []int)
- func (m *ConstantValue) GetBool() bool
- func (m *ConstantValue) GetComplex() string
- func (m *ConstantValue) GetFloat() string
- func (m *ConstantValue) GetInt() string
- func (m *ConstantValue) GetString_() string
- func (m *ConstantValue) GetUnknown() string
- func (m *ConstantValue) GetValue() isConstantValue_Value
- func (*ConstantValue) ProtoMessage()
- func (m *ConstantValue) Reset()
- func (m *ConstantValue) String() string
- func (m *ConstantValue) XXX_DiscardUnknown()
- func (m *ConstantValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConstantValue) XXX_Merge(src proto.Message)
- func (*ConstantValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ConstantValue) XXX_Size() int
- func (m *ConstantValue) XXX_Unmarshal(b []byte) error
- type ConstantValue_Bool
- type ConstantValue_Complex
- type ConstantValue_Float
- type ConstantValue_Int
- type ConstantValue_String_
- type ConstantValue_Unknown
- type Decl
- func (*Decl) Descriptor() ([]byte, []int)
- func (m *Decl) GetBadDecl() *BadDecl
- func (m *Decl) GetDecl() isDecl_Decl
- func (m *Decl) GetFuncDecl() *FuncDecl
- func (m *Decl) GetGenDecl() *GenDecl
- func (*Decl) ProtoMessage()
- func (m *Decl) Reset()
- func (m *Decl) String() string
- func (m *Decl) XXX_DiscardUnknown()
- func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Decl) XXX_Merge(src proto.Message)
- func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Decl) XXX_Size() int
- func (m *Decl) XXX_Unmarshal(b []byte) error
- type DeclStmt
- func (*DeclStmt) Descriptor() ([]byte, []int)
- func (m *DeclStmt) GetDecl() *Decl
- func (*DeclStmt) ProtoMessage()
- func (m *DeclStmt) Reset()
- func (m *DeclStmt) String() string
- func (m *DeclStmt) XXX_DiscardUnknown()
- func (m *DeclStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeclStmt) XXX_Merge(src proto.Message)
- func (m *DeclStmt) XXX_Size() int
- func (m *DeclStmt) XXX_Unmarshal(b []byte) error
- type Decl_BadDecl
- type Decl_FuncDecl
- type Decl_GenDecl
- type DeferStmt
- func (*DeferStmt) Descriptor() ([]byte, []int)
- func (m *DeferStmt) GetCall() *CallExpr
- func (m *DeferStmt) GetDefer() int32
- func (*DeferStmt) ProtoMessage()
- func (m *DeferStmt) Reset()
- func (m *DeferStmt) String() string
- func (m *DeferStmt) XXX_DiscardUnknown()
- func (m *DeferStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeferStmt) XXX_Merge(src proto.Message)
- func (m *DeferStmt) XXX_Size() int
- func (m *DeferStmt) XXX_Unmarshal(b []byte) error
- type Ellipsis
- func (*Ellipsis) Descriptor() ([]byte, []int)
- func (m *Ellipsis) GetEllipsis() int32
- func (m *Ellipsis) GetElt() *Expr
- func (m *Ellipsis) GetTypeRef() *TypeRef
- func (*Ellipsis) ProtoMessage()
- func (m *Ellipsis) Reset()
- func (m *Ellipsis) String() string
- func (m *Ellipsis) XXX_DiscardUnknown()
- func (m *Ellipsis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Ellipsis) XXX_Merge(src proto.Message)
- func (m *Ellipsis) XXX_Size() int
- func (m *Ellipsis) XXX_Unmarshal(b []byte) error
- type EmptyStmt
- func (*EmptyStmt) Descriptor() ([]byte, []int)
- func (m *EmptyStmt) GetImplicit() bool
- func (m *EmptyStmt) GetSemicolon() int32
- func (*EmptyStmt) ProtoMessage()
- func (m *EmptyStmt) Reset()
- func (m *EmptyStmt) String() string
- func (m *EmptyStmt) XXX_DiscardUnknown()
- func (m *EmptyStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmptyStmt) XXX_Merge(src proto.Message)
- func (m *EmptyStmt) XXX_Size() int
- func (m *EmptyStmt) XXX_Unmarshal(b []byte) error
- type Expr
- func (*Expr) Descriptor() ([]byte, []int)
- func (m *Expr) GetArrayType() *ArrayType
- func (m *Expr) GetBadExpr() *BadExpr
- func (m *Expr) GetBasicLit() *BasicLit
- func (m *Expr) GetBinaryExpr() *BinaryExpr
- func (m *Expr) GetCallExpr() *CallExpr
- func (m *Expr) GetChanType() *ChanType
- func (m *Expr) GetCompositeLit() *CompositeLit
- func (m *Expr) GetEllipsis() *Ellipsis
- func (m *Expr) GetExpr() isExpr_Expr
- func (m *Expr) GetFuncLit() *FuncLit
- func (m *Expr) GetFuncType() *FuncType
- func (m *Expr) GetIdent() *Ident
- func (m *Expr) GetIndexExpr() *IndexExpr
- func (m *Expr) GetInterfaceType() *InterfaceType
- func (m *Expr) GetKeyValueExpr() *KeyValueExpr
- func (m *Expr) GetMapType() *MapType
- func (m *Expr) GetParenExpr() *ParenExpr
- func (m *Expr) GetSelectorExpr() *SelectorExpr
- func (m *Expr) GetSliceExpr() *SliceExpr
- func (m *Expr) GetStarExpr() *StarExpr
- func (m *Expr) GetStructType() *StructType
- func (m *Expr) GetTypeAssertExpr() *TypeAssertExpr
- func (m *Expr) GetUnaryExpr() *UnaryExpr
- func (*Expr) ProtoMessage()
- func (m *Expr) Reset()
- func (m *Expr) String() string
- func (m *Expr) XXX_DiscardUnknown()
- func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Expr) XXX_Merge(src proto.Message)
- func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Expr) XXX_Size() int
- func (m *Expr) XXX_Unmarshal(b []byte) error
- type ExprStmt
- func (*ExprStmt) Descriptor() ([]byte, []int)
- func (m *ExprStmt) GetX() *Expr
- func (*ExprStmt) ProtoMessage()
- func (m *ExprStmt) Reset()
- func (m *ExprStmt) String() string
- func (m *ExprStmt) XXX_DiscardUnknown()
- func (m *ExprStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExprStmt) XXX_Merge(src proto.Message)
- func (m *ExprStmt) XXX_Size() int
- func (m *ExprStmt) XXX_Unmarshal(b []byte) error
- type Expr_ArrayType
- type Expr_BadExpr
- type Expr_BasicLit
- type Expr_BinaryExpr
- type Expr_CallExpr
- type Expr_ChanType
- type Expr_CompositeLit
- type Expr_Ellipsis
- type Expr_FuncLit
- type Expr_FuncType
- type Expr_Ident
- type Expr_IndexExpr
- type Expr_InterfaceType
- type Expr_KeyValueExpr
- type Expr_MapType
- type Expr_ParenExpr
- type Expr_SelectorExpr
- type Expr_SliceExpr
- type Expr_StarExpr
- type Expr_StructType
- type Expr_TypeAssertExpr
- type Expr_UnaryExpr
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetComment() *CommentGroup
- func (m *Field) GetDoc() *CommentGroup
- func (m *Field) GetNames() []*Ident
- func (m *Field) GetTag() *BasicLit
- func (m *Field) GetType() *Expr
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type FieldList
- func (*FieldList) Descriptor() ([]byte, []int)
- func (m *FieldList) GetClosing() int32
- func (m *FieldList) GetList() []*Field
- func (m *FieldList) GetOpening() int32
- func (*FieldList) ProtoMessage()
- func (m *FieldList) Reset()
- func (m *FieldList) String() string
- func (m *FieldList) XXX_DiscardUnknown()
- func (m *FieldList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldList) XXX_Merge(src proto.Message)
- func (m *FieldList) XXX_Size() int
- func (m *FieldList) XXX_Unmarshal(b []byte) error
- type File
- func (*File) Descriptor() ([]byte, []int)
- func (m *File) GetComments() []*CommentGroup
- func (m *File) GetDecls() []*Decl
- func (m *File) GetDoc() *CommentGroup
- func (m *File) GetFileName() string
- func (m *File) GetImports() []*ImportSpec
- func (m *File) GetName() *Ident
- func (m *File) GetPackage() int32
- func (m *File) GetUnresolved() []*Ident
- func (*File) ProtoMessage()
- func (m *File) Reset()
- func (m *File) String() string
- func (m *File) XXX_DiscardUnknown()
- func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *File) XXX_Merge(src proto.Message)
- func (m *File) XXX_Size() int
- func (m *File) XXX_Unmarshal(b []byte) error
- type ForStmt
- func (*ForStmt) Descriptor() ([]byte, []int)
- func (m *ForStmt) GetBody() *BlockStmt
- func (m *ForStmt) GetCond() *Expr
- func (m *ForStmt) GetFor() int32
- func (m *ForStmt) GetInit() *Stmt
- func (m *ForStmt) GetPost() *Stmt
- func (*ForStmt) ProtoMessage()
- func (m *ForStmt) Reset()
- func (m *ForStmt) String() string
- func (m *ForStmt) XXX_DiscardUnknown()
- func (m *ForStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ForStmt) XXX_Merge(src proto.Message)
- func (m *ForStmt) XXX_Size() int
- func (m *ForStmt) XXX_Unmarshal(b []byte) error
- type FuncDecl
- func (*FuncDecl) Descriptor() ([]byte, []int)
- func (m *FuncDecl) GetBody() *BlockStmt
- func (m *FuncDecl) GetDoc() *CommentGroup
- func (m *FuncDecl) GetName() *Ident
- func (m *FuncDecl) GetRecv() *FieldList
- func (m *FuncDecl) GetType() *FuncType
- func (*FuncDecl) ProtoMessage()
- func (m *FuncDecl) Reset()
- func (m *FuncDecl) String() string
- func (m *FuncDecl) XXX_DiscardUnknown()
- func (m *FuncDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FuncDecl) XXX_Merge(src proto.Message)
- func (m *FuncDecl) XXX_Size() int
- func (m *FuncDecl) XXX_Unmarshal(b []byte) error
- type FuncLit
- func (*FuncLit) Descriptor() ([]byte, []int)
- func (m *FuncLit) GetBody() *BlockStmt
- func (m *FuncLit) GetType() *FuncType
- func (m *FuncLit) GetTypeRef() *TypeRef
- func (*FuncLit) ProtoMessage()
- func (m *FuncLit) Reset()
- func (m *FuncLit) String() string
- func (m *FuncLit) XXX_DiscardUnknown()
- func (m *FuncLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FuncLit) XXX_Merge(src proto.Message)
- func (m *FuncLit) XXX_Size() int
- func (m *FuncLit) XXX_Unmarshal(b []byte) error
- type FuncType
- func (*FuncType) Descriptor() ([]byte, []int)
- func (m *FuncType) GetFunc() int32
- func (m *FuncType) GetParams() *FieldList
- func (m *FuncType) GetResults() *FieldList
- func (m *FuncType) GetTypeRef() *TypeRef
- func (*FuncType) ProtoMessage()
- func (m *FuncType) Reset()
- func (m *FuncType) String() string
- func (m *FuncType) XXX_DiscardUnknown()
- func (m *FuncType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FuncType) XXX_Merge(src proto.Message)
- func (m *FuncType) XXX_Size() int
- func (m *FuncType) XXX_Unmarshal(b []byte) error
- type GenDecl
- func (*GenDecl) Descriptor() ([]byte, []int)
- func (m *GenDecl) GetDoc() *CommentGroup
- func (m *GenDecl) GetLparen() int32
- func (m *GenDecl) GetRparen() int32
- func (m *GenDecl) GetSpecs() []*Spec
- func (m *GenDecl) GetTok() Token
- func (m *GenDecl) GetTokPos() int32
- func (*GenDecl) ProtoMessage()
- func (m *GenDecl) Reset()
- func (m *GenDecl) String() string
- func (m *GenDecl) XXX_DiscardUnknown()
- func (m *GenDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GenDecl) XXX_Merge(src proto.Message)
- func (m *GenDecl) XXX_Size() int
- func (m *GenDecl) XXX_Unmarshal(b []byte) error
- type GoStmt
- func (*GoStmt) Descriptor() ([]byte, []int)
- func (m *GoStmt) GetCall() *CallExpr
- func (m *GoStmt) GetGo() int32
- func (*GoStmt) ProtoMessage()
- func (m *GoStmt) Reset()
- func (m *GoStmt) String() string
- func (m *GoStmt) XXX_DiscardUnknown()
- func (m *GoStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GoStmt) XXX_Merge(src proto.Message)
- func (m *GoStmt) XXX_Size() int
- func (m *GoStmt) XXX_Unmarshal(b []byte) error
- type Ident
- func (*Ident) Descriptor() ([]byte, []int)
- func (m *Ident) GetDefTypeRef() *TypeRef
- func (m *Ident) GetName() string
- func (m *Ident) GetNamePos() int32
- func (m *Ident) GetTypeRef() *TypeRef
- func (*Ident) ProtoMessage()
- func (m *Ident) Reset()
- func (m *Ident) String() string
- func (m *Ident) XXX_DiscardUnknown()
- func (m *Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Ident) XXX_Merge(src proto.Message)
- func (m *Ident) XXX_Size() int
- func (m *Ident) XXX_Unmarshal(b []byte) error
- type IfStmt
- func (*IfStmt) Descriptor() ([]byte, []int)
- func (m *IfStmt) GetBody() *BlockStmt
- func (m *IfStmt) GetCond() *Expr
- func (m *IfStmt) GetElse() *Stmt
- func (m *IfStmt) GetIf() int32
- func (m *IfStmt) GetInit() *Stmt
- func (*IfStmt) ProtoMessage()
- func (m *IfStmt) Reset()
- func (m *IfStmt) String() string
- func (m *IfStmt) XXX_DiscardUnknown()
- func (m *IfStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IfStmt) XXX_Merge(src proto.Message)
- func (m *IfStmt) XXX_Size() int
- func (m *IfStmt) XXX_Unmarshal(b []byte) error
- type ImportSpec
- func (*ImportSpec) Descriptor() ([]byte, []int)
- func (m *ImportSpec) GetComment() *CommentGroup
- func (m *ImportSpec) GetDoc() *CommentGroup
- func (m *ImportSpec) GetEndPos() int32
- func (m *ImportSpec) GetName() *Ident
- func (m *ImportSpec) GetPath() *BasicLit
- func (*ImportSpec) ProtoMessage()
- func (m *ImportSpec) Reset()
- func (m *ImportSpec) String() string
- func (m *ImportSpec) XXX_DiscardUnknown()
- func (m *ImportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportSpec) XXX_Merge(src proto.Message)
- func (m *ImportSpec) XXX_Size() int
- func (m *ImportSpec) XXX_Unmarshal(b []byte) error
- type IncDecStmt
- func (*IncDecStmt) Descriptor() ([]byte, []int)
- func (m *IncDecStmt) GetTok() Token
- func (m *IncDecStmt) GetTokPos() int32
- func (m *IncDecStmt) GetX() *Expr
- func (*IncDecStmt) ProtoMessage()
- func (m *IncDecStmt) Reset()
- func (m *IncDecStmt) String() string
- func (m *IncDecStmt) XXX_DiscardUnknown()
- func (m *IncDecStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IncDecStmt) XXX_Merge(src proto.Message)
- func (m *IncDecStmt) XXX_Size() int
- func (m *IncDecStmt) XXX_Unmarshal(b []byte) error
- type IndexExpr
- func (*IndexExpr) Descriptor() ([]byte, []int)
- func (m *IndexExpr) GetIndex() *Expr
- func (m *IndexExpr) GetLbrack() int32
- func (m *IndexExpr) GetRbrack() int32
- func (m *IndexExpr) GetTypeRef() *TypeRef
- func (m *IndexExpr) GetX() *Expr
- func (*IndexExpr) ProtoMessage()
- func (m *IndexExpr) Reset()
- func (m *IndexExpr) String() string
- func (m *IndexExpr) XXX_DiscardUnknown()
- func (m *IndexExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexExpr) XXX_Merge(src proto.Message)
- func (m *IndexExpr) XXX_Size() int
- func (m *IndexExpr) XXX_Unmarshal(b []byte) error
- type InterfaceType
- func (*InterfaceType) Descriptor() ([]byte, []int)
- func (m *InterfaceType) GetIncomplete() bool
- func (m *InterfaceType) GetInterface() int32
- func (m *InterfaceType) GetMethods() *FieldList
- func (m *InterfaceType) GetTypeRef() *TypeRef
- func (*InterfaceType) ProtoMessage()
- func (m *InterfaceType) Reset()
- func (m *InterfaceType) String() string
- func (m *InterfaceType) XXX_DiscardUnknown()
- func (m *InterfaceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InterfaceType) XXX_Merge(src proto.Message)
- func (m *InterfaceType) XXX_Size() int
- func (m *InterfaceType) XXX_Unmarshal(b []byte) error
- type KeyValueExpr
- func (*KeyValueExpr) Descriptor() ([]byte, []int)
- func (m *KeyValueExpr) GetColon() int32
- func (m *KeyValueExpr) GetKey() *Expr
- func (m *KeyValueExpr) GetTypeRef() *TypeRef
- func (m *KeyValueExpr) GetValue() *Expr
- func (*KeyValueExpr) ProtoMessage()
- func (m *KeyValueExpr) Reset()
- func (m *KeyValueExpr) String() string
- func (m *KeyValueExpr) XXX_DiscardUnknown()
- func (m *KeyValueExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KeyValueExpr) XXX_Merge(src proto.Message)
- func (m *KeyValueExpr) XXX_Size() int
- func (m *KeyValueExpr) XXX_Unmarshal(b []byte) error
- type LabeledStmt
- func (*LabeledStmt) Descriptor() ([]byte, []int)
- func (m *LabeledStmt) GetColon() int32
- func (m *LabeledStmt) GetLabel() *Ident
- func (m *LabeledStmt) GetStmt() *Stmt
- func (*LabeledStmt) ProtoMessage()
- func (m *LabeledStmt) Reset()
- func (m *LabeledStmt) String() string
- func (m *LabeledStmt) XXX_DiscardUnknown()
- func (m *LabeledStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LabeledStmt) XXX_Merge(src proto.Message)
- func (m *LabeledStmt) XXX_Size() int
- func (m *LabeledStmt) XXX_Unmarshal(b []byte) error
- type MapType
- func (*MapType) Descriptor() ([]byte, []int)
- func (m *MapType) GetKey() *Expr
- func (m *MapType) GetMap() int32
- func (m *MapType) GetTypeRef() *TypeRef
- func (m *MapType) GetValue() *Expr
- func (*MapType) ProtoMessage()
- func (m *MapType) Reset()
- func (m *MapType) String() string
- func (m *MapType) XXX_DiscardUnknown()
- func (m *MapType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MapType) XXX_Merge(src proto.Message)
- func (m *MapType) XXX_Size() int
- func (m *MapType) XXX_Unmarshal(b []byte) error
- type Package
- func (*Package) Descriptor() ([]byte, []int)
- func (m *Package) GetFiles() []*File
- func (m *Package) GetName() string
- func (m *Package) GetPath() string
- func (m *Package) GetTypes() []*Type
- func (m *Package) GetVarInitOrder() []string
- func (*Package) ProtoMessage()
- func (m *Package) Reset()
- func (m *Package) String() string
- func (m *Package) XXX_DiscardUnknown()
- func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Package) XXX_Merge(src proto.Message)
- func (m *Package) XXX_Size() int
- func (m *Package) XXX_Unmarshal(b []byte) error
- type Packages
- func (*Packages) Descriptor() ([]byte, []int)
- func (m *Packages) GetPackages() []*Package
- func (*Packages) ProtoMessage()
- func (m *Packages) Reset()
- func (m *Packages) String() string
- func (m *Packages) XXX_DiscardUnknown()
- func (m *Packages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Packages) XXX_Merge(src proto.Message)
- func (m *Packages) XXX_Size() int
- func (m *Packages) XXX_Unmarshal(b []byte) error
- type ParenExpr
- func (*ParenExpr) Descriptor() ([]byte, []int)
- func (m *ParenExpr) GetLparen() int32
- func (m *ParenExpr) GetRparen() int32
- func (m *ParenExpr) GetTypeRef() *TypeRef
- func (m *ParenExpr) GetX() *Expr
- func (*ParenExpr) ProtoMessage()
- func (m *ParenExpr) Reset()
- func (m *ParenExpr) String() string
- func (m *ParenExpr) XXX_DiscardUnknown()
- func (m *ParenExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ParenExpr) XXX_Merge(src proto.Message)
- func (m *ParenExpr) XXX_Size() int
- func (m *ParenExpr) XXX_Unmarshal(b []byte) error
- type RangeStmt
- func (*RangeStmt) Descriptor() ([]byte, []int)
- func (m *RangeStmt) GetBody() *BlockStmt
- func (m *RangeStmt) GetFor() int32
- func (m *RangeStmt) GetKey() *Expr
- func (m *RangeStmt) GetTok() Token
- func (m *RangeStmt) GetTokPos() int32
- func (m *RangeStmt) GetValue() *Expr
- func (m *RangeStmt) GetX() *Expr
- func (*RangeStmt) ProtoMessage()
- func (m *RangeStmt) Reset()
- func (m *RangeStmt) String() string
- func (m *RangeStmt) XXX_DiscardUnknown()
- func (m *RangeStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RangeStmt) XXX_Merge(src proto.Message)
- func (m *RangeStmt) XXX_Size() int
- func (m *RangeStmt) XXX_Unmarshal(b []byte) error
- type ReturnStmt
- func (*ReturnStmt) Descriptor() ([]byte, []int)
- func (m *ReturnStmt) GetResults() []*Expr
- func (m *ReturnStmt) GetReturn() int32
- func (*ReturnStmt) ProtoMessage()
- func (m *ReturnStmt) Reset()
- func (m *ReturnStmt) String() string
- func (m *ReturnStmt) XXX_DiscardUnknown()
- func (m *ReturnStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReturnStmt) XXX_Merge(src proto.Message)
- func (m *ReturnStmt) XXX_Size() int
- func (m *ReturnStmt) XXX_Unmarshal(b []byte) error
- type SelectStmt
- func (*SelectStmt) Descriptor() ([]byte, []int)
- func (m *SelectStmt) GetBody() *BlockStmt
- func (m *SelectStmt) GetSelect() int32
- func (*SelectStmt) ProtoMessage()
- func (m *SelectStmt) Reset()
- func (m *SelectStmt) String() string
- func (m *SelectStmt) XXX_DiscardUnknown()
- func (m *SelectStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SelectStmt) XXX_Merge(src proto.Message)
- func (m *SelectStmt) XXX_Size() int
- func (m *SelectStmt) XXX_Unmarshal(b []byte) error
- type SelectorExpr
- func (*SelectorExpr) Descriptor() ([]byte, []int)
- func (m *SelectorExpr) GetSel() *Ident
- func (m *SelectorExpr) GetTypeRef() *TypeRef
- func (m *SelectorExpr) GetX() *Expr
- func (*SelectorExpr) ProtoMessage()
- func (m *SelectorExpr) Reset()
- func (m *SelectorExpr) String() string
- func (m *SelectorExpr) XXX_DiscardUnknown()
- func (m *SelectorExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SelectorExpr) XXX_Merge(src proto.Message)
- func (m *SelectorExpr) XXX_Size() int
- func (m *SelectorExpr) XXX_Unmarshal(b []byte) error
- type SendStmt
- func (*SendStmt) Descriptor() ([]byte, []int)
- func (m *SendStmt) GetArrow() int32
- func (m *SendStmt) GetChan() *Expr
- func (m *SendStmt) GetValue() *Expr
- func (*SendStmt) ProtoMessage()
- func (m *SendStmt) Reset()
- func (m *SendStmt) String() string
- func (m *SendStmt) XXX_DiscardUnknown()
- func (m *SendStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendStmt) XXX_Merge(src proto.Message)
- func (m *SendStmt) XXX_Size() int
- func (m *SendStmt) XXX_Unmarshal(b []byte) error
- type SliceExpr
- func (*SliceExpr) Descriptor() ([]byte, []int)
- func (m *SliceExpr) GetHigh() *Expr
- func (m *SliceExpr) GetLbrack() int32
- func (m *SliceExpr) GetLow() *Expr
- func (m *SliceExpr) GetMax() *Expr
- func (m *SliceExpr) GetRbrack() int32
- func (m *SliceExpr) GetSlice3() bool
- func (m *SliceExpr) GetTypeRef() *TypeRef
- func (m *SliceExpr) GetX() *Expr
- func (*SliceExpr) ProtoMessage()
- func (m *SliceExpr) Reset()
- func (m *SliceExpr) String() string
- func (m *SliceExpr) XXX_DiscardUnknown()
- func (m *SliceExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SliceExpr) XXX_Merge(src proto.Message)
- func (m *SliceExpr) XXX_Size() int
- func (m *SliceExpr) XXX_Unmarshal(b []byte) error
- type Spec
- func (*Spec) Descriptor() ([]byte, []int)
- func (m *Spec) GetImportSpec() *ImportSpec
- func (m *Spec) GetSpec() isSpec_Spec
- func (m *Spec) GetTypeSpec() *TypeSpec
- func (m *Spec) GetValueSpec() *ValueSpec
- func (*Spec) ProtoMessage()
- func (m *Spec) Reset()
- func (m *Spec) String() string
- func (m *Spec) XXX_DiscardUnknown()
- func (m *Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Spec) XXX_Merge(src proto.Message)
- func (*Spec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Spec) XXX_Size() int
- func (m *Spec) XXX_Unmarshal(b []byte) error
- type Spec_ImportSpec
- type Spec_TypeSpec
- type Spec_ValueSpec
- type StarExpr
- func (*StarExpr) Descriptor() ([]byte, []int)
- func (m *StarExpr) GetStar() int32
- func (m *StarExpr) GetTypeRef() *TypeRef
- func (m *StarExpr) GetX() *Expr
- func (*StarExpr) ProtoMessage()
- func (m *StarExpr) Reset()
- func (m *StarExpr) String() string
- func (m *StarExpr) XXX_DiscardUnknown()
- func (m *StarExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StarExpr) XXX_Merge(src proto.Message)
- func (m *StarExpr) XXX_Size() int
- func (m *StarExpr) XXX_Unmarshal(b []byte) error
- type Stmt
- func (*Stmt) Descriptor() ([]byte, []int)
- func (m *Stmt) GetAssignStmt() *AssignStmt
- func (m *Stmt) GetBadStmt() *BadStmt
- func (m *Stmt) GetBlockStmt() *BlockStmt
- func (m *Stmt) GetBranchStmt() *BranchStmt
- func (m *Stmt) GetCaseClause() *CaseClause
- func (m *Stmt) GetCommClause() *CommClause
- func (m *Stmt) GetDeclStmt() *DeclStmt
- func (m *Stmt) GetDeferStmt() *DeferStmt
- func (m *Stmt) GetEmptyStmt() *EmptyStmt
- func (m *Stmt) GetExprStmt() *ExprStmt
- func (m *Stmt) GetForStmt() *ForStmt
- func (m *Stmt) GetGoStmt() *GoStmt
- func (m *Stmt) GetIfStmt() *IfStmt
- func (m *Stmt) GetIncDecStmt() *IncDecStmt
- func (m *Stmt) GetLabeledStmt() *LabeledStmt
- func (m *Stmt) GetRangeStmt() *RangeStmt
- func (m *Stmt) GetReturnStmt() *ReturnStmt
- func (m *Stmt) GetSelectStmt() *SelectStmt
- func (m *Stmt) GetSendStmt() *SendStmt
- func (m *Stmt) GetStmt() isStmt_Stmt
- func (m *Stmt) GetSwitchStmt() *SwitchStmt
- func (m *Stmt) GetTypeSwitchStmt() *TypeSwitchStmt
- func (*Stmt) ProtoMessage()
- func (m *Stmt) Reset()
- func (m *Stmt) String() string
- func (m *Stmt) XXX_DiscardUnknown()
- func (m *Stmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Stmt) XXX_Merge(src proto.Message)
- func (*Stmt) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Stmt) XXX_Size() int
- func (m *Stmt) XXX_Unmarshal(b []byte) error
- type Stmt_AssignStmt
- type Stmt_BadStmt
- type Stmt_BlockStmt
- type Stmt_BranchStmt
- type Stmt_CaseClause
- type Stmt_CommClause
- type Stmt_DeclStmt
- type Stmt_DeferStmt
- type Stmt_EmptyStmt
- type Stmt_ExprStmt
- type Stmt_ForStmt
- type Stmt_GoStmt
- type Stmt_IfStmt
- type Stmt_IncDecStmt
- type Stmt_LabeledStmt
- type Stmt_RangeStmt
- type Stmt_ReturnStmt
- type Stmt_SelectStmt
- type Stmt_SendStmt
- type Stmt_SwitchStmt
- type Stmt_TypeSwitchStmt
- type StructType
- func (*StructType) Descriptor() ([]byte, []int)
- func (m *StructType) GetFields() *FieldList
- func (m *StructType) GetIncomplete() bool
- func (m *StructType) GetStruct() int32
- func (m *StructType) GetTypeRef() *TypeRef
- func (*StructType) ProtoMessage()
- func (m *StructType) Reset()
- func (m *StructType) String() string
- func (m *StructType) XXX_DiscardUnknown()
- func (m *StructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StructType) XXX_Merge(src proto.Message)
- func (m *StructType) XXX_Size() int
- func (m *StructType) XXX_Unmarshal(b []byte) error
- type SwitchStmt
- func (*SwitchStmt) Descriptor() ([]byte, []int)
- func (m *SwitchStmt) GetBody() *BlockStmt
- func (m *SwitchStmt) GetInit() *Stmt
- func (m *SwitchStmt) GetSwitch() int32
- func (m *SwitchStmt) GetTag() *Expr
- func (*SwitchStmt) ProtoMessage()
- func (m *SwitchStmt) Reset()
- func (m *SwitchStmt) String() string
- func (m *SwitchStmt) XXX_DiscardUnknown()
- func (m *SwitchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SwitchStmt) XXX_Merge(src proto.Message)
- func (m *SwitchStmt) XXX_Size() int
- func (m *SwitchStmt) XXX_Unmarshal(b []byte) error
- type Token
- type Type
- func (*Type) Descriptor() ([]byte, []int)
- func (m *Type) GetName() string
- func (m *Type) GetPackage() string
- func (m *Type) GetType() isType_Type
- func (m *Type) GetTypeArray() *TypeArray
- func (m *Type) GetTypeBasic() *TypeBasic
- func (m *Type) GetTypeBuiltin() bool
- func (m *Type) GetTypeChan() *TypeChan
- func (m *Type) GetTypeConst() *TypeConst
- func (m *Type) GetTypeFunc() *TypeSignature
- func (m *Type) GetTypeInterface() *TypeInterface
- func (m *Type) GetTypeLabel() *TypeRef
- func (m *Type) GetTypeMap() *TypeMap
- func (m *Type) GetTypeName() *TypeRef
- func (m *Type) GetTypeNamed() *TypeNamed
- func (m *Type) GetTypeNil() *TypeRef
- func (m *Type) GetTypePackage() bool
- func (m *Type) GetTypePointer() *TypePointer
- func (m *Type) GetTypeSignature() *TypeSignature
- func (m *Type) GetTypeSlice() *TypeSlice
- func (m *Type) GetTypeStruct() *TypeStruct
- func (m *Type) GetTypeTuple() *TypeTuple
- func (m *Type) GetTypeVar() *TypeVar
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (m *Type) String() string
- func (m *Type) XXX_DiscardUnknown()
- func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Type) XXX_Merge(src proto.Message)
- func (*Type) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Type) XXX_Size() int
- func (m *Type) XXX_Unmarshal(b []byte) error
- type TypeArray
- func (*TypeArray) Descriptor() ([]byte, []int)
- func (m *TypeArray) GetElem() *TypeRef
- func (m *TypeArray) GetLen() int64
- func (*TypeArray) ProtoMessage()
- func (m *TypeArray) Reset()
- func (m *TypeArray) String() string
- func (m *TypeArray) XXX_DiscardUnknown()
- func (m *TypeArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeArray) XXX_Merge(src proto.Message)
- func (m *TypeArray) XXX_Size() int
- func (m *TypeArray) XXX_Unmarshal(b []byte) error
- type TypeAssertExpr
- func (*TypeAssertExpr) Descriptor() ([]byte, []int)
- func (m *TypeAssertExpr) GetLparen() int32
- func (m *TypeAssertExpr) GetRparen() int32
- func (m *TypeAssertExpr) GetType() *Expr
- func (m *TypeAssertExpr) GetTypeRef() *TypeRef
- func (m *TypeAssertExpr) GetX() *Expr
- func (*TypeAssertExpr) ProtoMessage()
- func (m *TypeAssertExpr) Reset()
- func (m *TypeAssertExpr) String() string
- func (m *TypeAssertExpr) XXX_DiscardUnknown()
- func (m *TypeAssertExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeAssertExpr) XXX_Merge(src proto.Message)
- func (m *TypeAssertExpr) XXX_Size() int
- func (m *TypeAssertExpr) XXX_Unmarshal(b []byte) error
- type TypeBasic
- func (*TypeBasic) Descriptor() ([]byte, []int)
- func (m *TypeBasic) GetFlags() int32
- func (m *TypeBasic) GetKind() TypeBasic_Kind
- func (*TypeBasic) ProtoMessage()
- func (m *TypeBasic) Reset()
- func (m *TypeBasic) String() string
- func (m *TypeBasic) XXX_DiscardUnknown()
- func (m *TypeBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeBasic) XXX_Merge(src proto.Message)
- func (m *TypeBasic) XXX_Size() int
- func (m *TypeBasic) XXX_Unmarshal(b []byte) error
- type TypeBasic_Kind
- type TypeChan
- func (*TypeChan) Descriptor() ([]byte, []int)
- func (m *TypeChan) GetElem() *TypeRef
- func (m *TypeChan) GetRecvDir() bool
- func (m *TypeChan) GetSendDir() bool
- func (*TypeChan) ProtoMessage()
- func (m *TypeChan) Reset()
- func (m *TypeChan) String() string
- func (m *TypeChan) XXX_DiscardUnknown()
- func (m *TypeChan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeChan) XXX_Merge(src proto.Message)
- func (m *TypeChan) XXX_Size() int
- func (m *TypeChan) XXX_Unmarshal(b []byte) error
- type TypeConst
- func (*TypeConst) Descriptor() ([]byte, []int)
- func (m *TypeConst) GetType() *TypeRef
- func (m *TypeConst) GetValue() *ConstantValue
- func (*TypeConst) ProtoMessage()
- func (m *TypeConst) Reset()
- func (m *TypeConst) String() string
- func (m *TypeConst) XXX_DiscardUnknown()
- func (m *TypeConst) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeConst) XXX_Merge(src proto.Message)
- func (m *TypeConst) XXX_Size() int
- func (m *TypeConst) XXX_Unmarshal(b []byte) error
- type TypeInterface
- func (*TypeInterface) Descriptor() ([]byte, []int)
- func (m *TypeInterface) GetEmbedded() []*TypeRef
- func (m *TypeInterface) GetExplicitMethods() []*TypeRef
- func (*TypeInterface) ProtoMessage()
- func (m *TypeInterface) Reset()
- func (m *TypeInterface) String() string
- func (m *TypeInterface) XXX_DiscardUnknown()
- func (m *TypeInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeInterface) XXX_Merge(src proto.Message)
- func (m *TypeInterface) XXX_Size() int
- func (m *TypeInterface) XXX_Unmarshal(b []byte) error
- type TypeMap
- func (*TypeMap) Descriptor() ([]byte, []int)
- func (m *TypeMap) GetElem() *TypeRef
- func (m *TypeMap) GetKey() *TypeRef
- func (*TypeMap) ProtoMessage()
- func (m *TypeMap) Reset()
- func (m *TypeMap) String() string
- func (m *TypeMap) XXX_DiscardUnknown()
- func (m *TypeMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeMap) XXX_Merge(src proto.Message)
- func (m *TypeMap) XXX_Size() int
- func (m *TypeMap) XXX_Unmarshal(b []byte) error
- type TypeNamed
- func (*TypeNamed) Descriptor() ([]byte, []int)
- func (m *TypeNamed) GetMethods() []*TypeRef
- func (m *TypeNamed) GetType() *TypeRef
- func (m *TypeNamed) GetTypeName() *TypeRef
- func (*TypeNamed) ProtoMessage()
- func (m *TypeNamed) Reset()
- func (m *TypeNamed) String() string
- func (m *TypeNamed) XXX_DiscardUnknown()
- func (m *TypeNamed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeNamed) XXX_Merge(src proto.Message)
- func (m *TypeNamed) XXX_Size() int
- func (m *TypeNamed) XXX_Unmarshal(b []byte) error
- type TypePointer
- func (*TypePointer) Descriptor() ([]byte, []int)
- func (m *TypePointer) GetElem() *TypeRef
- func (*TypePointer) ProtoMessage()
- func (m *TypePointer) Reset()
- func (m *TypePointer) String() string
- func (m *TypePointer) XXX_DiscardUnknown()
- func (m *TypePointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypePointer) XXX_Merge(src proto.Message)
- func (m *TypePointer) XXX_Size() int
- func (m *TypePointer) XXX_Unmarshal(b []byte) error
- type TypeRef
- func (*TypeRef) Descriptor() ([]byte, []int)
- func (m *TypeRef) GetId() uint32
- func (*TypeRef) ProtoMessage()
- func (m *TypeRef) Reset()
- func (m *TypeRef) String() string
- func (m *TypeRef) XXX_DiscardUnknown()
- func (m *TypeRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeRef) XXX_Merge(src proto.Message)
- func (m *TypeRef) XXX_Size() int
- func (m *TypeRef) XXX_Unmarshal(b []byte) error
- type TypeSignature
- func (*TypeSignature) Descriptor() ([]byte, []int)
- func (m *TypeSignature) GetParams() []*TypeRef
- func (m *TypeSignature) GetRecv() *TypeRef
- func (m *TypeSignature) GetResults() []*TypeRef
- func (m *TypeSignature) GetVariadic() bool
- func (*TypeSignature) ProtoMessage()
- func (m *TypeSignature) Reset()
- func (m *TypeSignature) String() string
- func (m *TypeSignature) XXX_DiscardUnknown()
- func (m *TypeSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeSignature) XXX_Merge(src proto.Message)
- func (m *TypeSignature) XXX_Size() int
- func (m *TypeSignature) XXX_Unmarshal(b []byte) error
- type TypeSlice
- func (*TypeSlice) Descriptor() ([]byte, []int)
- func (m *TypeSlice) GetElem() *TypeRef
- func (*TypeSlice) ProtoMessage()
- func (m *TypeSlice) Reset()
- func (m *TypeSlice) String() string
- func (m *TypeSlice) XXX_DiscardUnknown()
- func (m *TypeSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeSlice) XXX_Merge(src proto.Message)
- func (m *TypeSlice) XXX_Size() int
- func (m *TypeSlice) XXX_Unmarshal(b []byte) error
- type TypeSpec
- func (*TypeSpec) Descriptor() ([]byte, []int)
- func (m *TypeSpec) GetAssign() int32
- func (m *TypeSpec) GetComment() *CommentGroup
- func (m *TypeSpec) GetDoc() *CommentGroup
- func (m *TypeSpec) GetName() *Ident
- func (m *TypeSpec) GetType() *Expr
- func (*TypeSpec) ProtoMessage()
- func (m *TypeSpec) Reset()
- func (m *TypeSpec) String() string
- func (m *TypeSpec) XXX_DiscardUnknown()
- func (m *TypeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeSpec) XXX_Merge(src proto.Message)
- func (m *TypeSpec) XXX_Size() int
- func (m *TypeSpec) XXX_Unmarshal(b []byte) error
- type TypeStruct
- func (*TypeStruct) Descriptor() ([]byte, []int)
- func (m *TypeStruct) GetFields() []*TypeRef
- func (*TypeStruct) ProtoMessage()
- func (m *TypeStruct) Reset()
- func (m *TypeStruct) String() string
- func (m *TypeStruct) XXX_DiscardUnknown()
- func (m *TypeStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeStruct) XXX_Merge(src proto.Message)
- func (m *TypeStruct) XXX_Size() int
- func (m *TypeStruct) XXX_Unmarshal(b []byte) error
- type TypeSwitchStmt
- func (*TypeSwitchStmt) Descriptor() ([]byte, []int)
- func (m *TypeSwitchStmt) GetAssign() *Stmt
- func (m *TypeSwitchStmt) GetBody() *BlockStmt
- func (m *TypeSwitchStmt) GetInit() *Stmt
- func (m *TypeSwitchStmt) GetSwitch() int32
- func (*TypeSwitchStmt) ProtoMessage()
- func (m *TypeSwitchStmt) Reset()
- func (m *TypeSwitchStmt) String() string
- func (m *TypeSwitchStmt) XXX_DiscardUnknown()
- func (m *TypeSwitchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeSwitchStmt) XXX_Merge(src proto.Message)
- func (m *TypeSwitchStmt) XXX_Size() int
- func (m *TypeSwitchStmt) XXX_Unmarshal(b []byte) error
- type TypeTuple
- func (*TypeTuple) Descriptor() ([]byte, []int)
- func (m *TypeTuple) GetVars() []*TypeRef
- func (*TypeTuple) ProtoMessage()
- func (m *TypeTuple) Reset()
- func (m *TypeTuple) String() string
- func (m *TypeTuple) XXX_DiscardUnknown()
- func (m *TypeTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeTuple) XXX_Merge(src proto.Message)
- func (m *TypeTuple) XXX_Size() int
- func (m *TypeTuple) XXX_Unmarshal(b []byte) error
- type TypeVar
- func (*TypeVar) Descriptor() ([]byte, []int)
- func (m *TypeVar) GetEmbedded() bool
- func (m *TypeVar) GetName() string
- func (m *TypeVar) GetType() *TypeRef
- func (*TypeVar) ProtoMessage()
- func (m *TypeVar) Reset()
- func (m *TypeVar) String() string
- func (m *TypeVar) XXX_DiscardUnknown()
- func (m *TypeVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TypeVar) XXX_Merge(src proto.Message)
- func (m *TypeVar) XXX_Size() int
- func (m *TypeVar) XXX_Unmarshal(b []byte) error
- type Type_TypeArray
- type Type_TypeBasic
- type Type_TypeBuiltin
- type Type_TypeChan
- type Type_TypeConst
- type Type_TypeFunc
- type Type_TypeInterface
- type Type_TypeLabel
- type Type_TypeMap
- type Type_TypeName
- type Type_TypeNamed
- type Type_TypeNil
- type Type_TypePackage
- type Type_TypePointer
- type Type_TypeSignature
- type Type_TypeSlice
- type Type_TypeStruct
- type Type_TypeTuple
- type Type_TypeVar
- type UnaryExpr
- func (*UnaryExpr) Descriptor() ([]byte, []int)
- func (m *UnaryExpr) GetOp() Token
- func (m *UnaryExpr) GetOpPos() int32
- func (m *UnaryExpr) GetTypeRef() *TypeRef
- func (m *UnaryExpr) GetX() *Expr
- func (*UnaryExpr) ProtoMessage()
- func (m *UnaryExpr) Reset()
- func (m *UnaryExpr) String() string
- func (m *UnaryExpr) XXX_DiscardUnknown()
- func (m *UnaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnaryExpr) XXX_Merge(src proto.Message)
- func (m *UnaryExpr) XXX_Size() int
- func (m *UnaryExpr) XXX_Unmarshal(b []byte) error
- type ValueSpec
- func (*ValueSpec) Descriptor() ([]byte, []int)
- func (m *ValueSpec) GetComment() *CommentGroup
- func (m *ValueSpec) GetDoc() *CommentGroup
- func (m *ValueSpec) GetNames() []*Ident
- func (m *ValueSpec) GetType() *Expr
- func (m *ValueSpec) GetValues() []*Expr
- func (*ValueSpec) ProtoMessage()
- func (m *ValueSpec) Reset()
- func (m *ValueSpec) String() string
- func (m *ValueSpec) XXX_DiscardUnknown()
- func (m *ValueSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ValueSpec) XXX_Merge(src proto.Message)
- func (m *ValueSpec) XXX_Size() int
- func (m *ValueSpec) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Token_name = map[int32]string{
0: "ILLEGAL",
1: "EOF",
2: "COMMENT",
4: "IDENT",
5: "INT",
6: "FLOAT",
7: "IMAG",
8: "CHAR",
9: "STRING",
12: "ADD",
13: "SUB",
14: "MUL",
15: "QUO",
16: "REM",
17: "AND",
18: "OR",
19: "XOR",
20: "SHL",
21: "SHR",
22: "AND_NOT",
23: "ADD_ASSIGN",
24: "SUB_ASSIGN",
25: "MUL_ASSIGN",
26: "QUO_ASSIGN",
27: "REM_ASSIGN",
28: "AND_ASSIGN",
29: "OR_ASSIGN",
30: "XOR_ASSIGN",
31: "SHL_ASSIGN",
32: "SHR_ASSIGN",
33: "AND_NOT_ASSIGN",
34: "LAND",
35: "LOR",
36: "ARROW",
37: "INC",
38: "DEC",
39: "EQL",
40: "LSS",
41: "GTR",
42: "ASSIGN",
43: "NOT",
44: "NEQ",
45: "LEQ",
46: "GEQ",
47: "DEFINE",
48: "ELLIPSIS",
49: "LPAREN",
50: "LBRACK",
51: "LBRACE",
52: "COMMA",
53: "PERIOD",
54: "RPAREN",
55: "RBRACK",
56: "RBRACE",
57: "SEMICOLON",
58: "COLON",
61: "BREAK",
62: "CASE",
63: "CHAN",
64: "CONST",
65: "CONTINUE",
66: "DEFAULT",
67: "DEFER",
68: "ELSE",
69: "FALLTHROUGH",
70: "FOR",
71: "FUNC",
72: "GO",
73: "GOTO",
74: "IF",
75: "IMPORT",
76: "INTERFACE",
77: "MAP",
78: "PACKAGE",
79: "RANGE",
80: "RETURN",
81: "SELECT",
82: "STRUCT",
83: "SWITCH",
84: "TYPE",
85: "VAR",
}
View Source
var Token_value = map[string]int32{
"ILLEGAL": 0,
"EOF": 1,
"COMMENT": 2,
"IDENT": 4,
"INT": 5,
"FLOAT": 6,
"IMAG": 7,
"CHAR": 8,
"STRING": 9,
"ADD": 12,
"SUB": 13,
"MUL": 14,
"QUO": 15,
"REM": 16,
"AND": 17,
"OR": 18,
"XOR": 19,
"SHL": 20,
"SHR": 21,
"AND_NOT": 22,
"ADD_ASSIGN": 23,
"SUB_ASSIGN": 24,
"MUL_ASSIGN": 25,
"QUO_ASSIGN": 26,
"REM_ASSIGN": 27,
"AND_ASSIGN": 28,
"OR_ASSIGN": 29,
"XOR_ASSIGN": 30,
"SHL_ASSIGN": 31,
"SHR_ASSIGN": 32,
"AND_NOT_ASSIGN": 33,
"LAND": 34,
"LOR": 35,
"ARROW": 36,
"INC": 37,
"DEC": 38,
"EQL": 39,
"LSS": 40,
"GTR": 41,
"ASSIGN": 42,
"NOT": 43,
"NEQ": 44,
"LEQ": 45,
"GEQ": 46,
"DEFINE": 47,
"ELLIPSIS": 48,
"LPAREN": 49,
"LBRACK": 50,
"LBRACE": 51,
"COMMA": 52,
"PERIOD": 53,
"RPAREN": 54,
"RBRACK": 55,
"RBRACE": 56,
"SEMICOLON": 57,
"COLON": 58,
"BREAK": 61,
"CASE": 62,
"CHAN": 63,
"CONST": 64,
"CONTINUE": 65,
"DEFAULT": 66,
"DEFER": 67,
"ELSE": 68,
"FALLTHROUGH": 69,
"FOR": 70,
"FUNC": 71,
"GO": 72,
"GOTO": 73,
"IF": 74,
"IMPORT": 75,
"INTERFACE": 76,
"MAP": 77,
"PACKAGE": 78,
"RANGE": 79,
"RETURN": 80,
"SELECT": 81,
"STRUCT": 82,
"SWITCH": 83,
"TYPE": 84,
"VAR": 85,
}
View Source
var TypeBasic_Kind_name = map[int32]string{
0: "INVALID",
1: "BOOL",
2: "INT",
3: "INT_8",
4: "INT_16",
5: "INT_32",
6: "INT_64",
7: "UINT",
8: "UINT_8",
9: "UINT_16",
10: "UINT_32",
11: "UINT_64",
12: "UINT_PTR",
13: "FLOAT_32",
14: "FLOAT_64",
15: "COMPLEX_64",
16: "COMPLEX_128",
17: "STRING",
18: "UNSAFE_POINTER",
19: "UNTYPED_BOOL",
20: "UNTYPED_INT",
21: "UNTYPED_RUNE",
22: "UNTYPED_FLOAT",
23: "UNTYPED_COMPLEX",
24: "UNTYPED_STRING",
25: "UNTYPED_NIL",
}
View Source
var TypeBasic_Kind_value = map[string]int32{
"INVALID": 0,
"BOOL": 1,
"INT": 2,
"INT_8": 3,
"INT_16": 4,
"INT_32": 5,
"INT_64": 6,
"UINT": 7,
"UINT_8": 8,
"UINT_16": 9,
"UINT_32": 10,
"UINT_64": 11,
"UINT_PTR": 12,
"FLOAT_32": 13,
"FLOAT_64": 14,
"COMPLEX_64": 15,
"COMPLEX_128": 16,
"STRING": 17,
"UNSAFE_POINTER": 18,
"UNTYPED_BOOL": 19,
"UNTYPED_INT": 20,
"UNTYPED_RUNE": 21,
"UNTYPED_FLOAT": 22,
"UNTYPED_COMPLEX": 23,
"UNTYPED_STRING": 24,
"UNTYPED_NIL": 25,
}
Functions ¶
This section is empty.
Types ¶
type ArrayType ¶
type ArrayType struct { Lbrack int32 `protobuf:"varint,1,opt,name=lbrack" json:"lbrack,omitempty"` Len *Expr `protobuf:"bytes,2,opt,name=len" json:"len,omitempty"` Elt *Expr `protobuf:"bytes,3,opt,name=elt" json:"elt,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArrayType) Descriptor ¶
func (*ArrayType) GetTypeRef ¶
func (*ArrayType) ProtoMessage ¶
func (*ArrayType) ProtoMessage()
func (*ArrayType) XXX_DiscardUnknown ¶
func (m *ArrayType) XXX_DiscardUnknown()
func (*ArrayType) XXX_Marshal ¶
func (*ArrayType) XXX_Unmarshal ¶
type AssignStmt ¶
type AssignStmt struct { Lhs []*Expr `protobuf:"bytes,1,rep,name=lhs" json:"lhs,omitempty"` TokPos int32 `protobuf:"varint,2,opt,name=tok_pos,json=tokPos" json:"tok_pos,omitempty"` Tok Token `protobuf:"varint,3,opt,name=tok,enum=pb.Token" json:"tok,omitempty"` Rhs []*Expr `protobuf:"bytes,4,rep,name=rhs" json:"rhs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssignStmt) Descriptor ¶
func (*AssignStmt) Descriptor() ([]byte, []int)
func (*AssignStmt) GetLhs ¶
func (m *AssignStmt) GetLhs() []*Expr
func (*AssignStmt) GetRhs ¶
func (m *AssignStmt) GetRhs() []*Expr
func (*AssignStmt) GetTok ¶
func (m *AssignStmt) GetTok() Token
func (*AssignStmt) GetTokPos ¶
func (m *AssignStmt) GetTokPos() int32
func (*AssignStmt) ProtoMessage ¶
func (*AssignStmt) ProtoMessage()
func (*AssignStmt) Reset ¶
func (m *AssignStmt) Reset()
func (*AssignStmt) String ¶
func (m *AssignStmt) String() string
func (*AssignStmt) XXX_DiscardUnknown ¶
func (m *AssignStmt) XXX_DiscardUnknown()
func (*AssignStmt) XXX_Marshal ¶
func (m *AssignStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignStmt) XXX_Merge ¶
func (dst *AssignStmt) XXX_Merge(src proto.Message)
func (*AssignStmt) XXX_Size ¶
func (m *AssignStmt) XXX_Size() int
func (*AssignStmt) XXX_Unmarshal ¶
func (m *AssignStmt) XXX_Unmarshal(b []byte) error
type BadDecl ¶
type BadDecl struct { From int32 `protobuf:"varint,1,opt,name=from" json:"from,omitempty"` To int32 `protobuf:"varint,2,opt,name=to" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BadDecl) Descriptor ¶
func (*BadDecl) ProtoMessage ¶
func (*BadDecl) ProtoMessage()
func (*BadDecl) XXX_DiscardUnknown ¶
func (m *BadDecl) XXX_DiscardUnknown()
func (*BadDecl) XXX_Marshal ¶
func (*BadDecl) XXX_Unmarshal ¶
type BadExpr ¶
type BadExpr struct { From int32 `protobuf:"varint,1,opt,name=from" json:"from,omitempty"` To int32 `protobuf:"varint,2,opt,name=to" json:"to,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BadExpr) Descriptor ¶
func (*BadExpr) GetTypeRef ¶
func (*BadExpr) ProtoMessage ¶
func (*BadExpr) ProtoMessage()
func (*BadExpr) XXX_DiscardUnknown ¶
func (m *BadExpr) XXX_DiscardUnknown()
func (*BadExpr) XXX_Marshal ¶
func (*BadExpr) XXX_Unmarshal ¶
type BadStmt ¶
type BadStmt struct { From int32 `protobuf:"varint,1,opt,name=from" json:"from,omitempty"` To int32 `protobuf:"varint,2,opt,name=to" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BadStmt) Descriptor ¶
func (*BadStmt) ProtoMessage ¶
func (*BadStmt) ProtoMessage()
func (*BadStmt) XXX_DiscardUnknown ¶
func (m *BadStmt) XXX_DiscardUnknown()
func (*BadStmt) XXX_Marshal ¶
func (*BadStmt) XXX_Unmarshal ¶
type BasicLit ¶
type BasicLit struct { ValuePos int32 `protobuf:"varint,1,opt,name=value_pos,json=valuePos" json:"value_pos,omitempty"` Kind Token `protobuf:"varint,2,opt,name=kind,enum=pb.Token" json:"kind,omitempty"` Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BasicLit) Descriptor ¶
func (*BasicLit) GetTypeRef ¶
func (*BasicLit) GetValuePos ¶
func (*BasicLit) ProtoMessage ¶
func (*BasicLit) ProtoMessage()
func (*BasicLit) XXX_DiscardUnknown ¶
func (m *BasicLit) XXX_DiscardUnknown()
func (*BasicLit) XXX_Marshal ¶
func (*BasicLit) XXX_Unmarshal ¶
type BinaryExpr ¶
type BinaryExpr struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` OpPos int32 `protobuf:"varint,2,opt,name=op_pos,json=opPos" json:"op_pos,omitempty"` Op Token `protobuf:"varint,3,opt,name=op,enum=pb.Token" json:"op,omitempty"` Y *Expr `protobuf:"bytes,4,opt,name=y" json:"y,omitempty"` TypeRef *TypeRef `protobuf:"bytes,5,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BinaryExpr) Descriptor ¶
func (*BinaryExpr) Descriptor() ([]byte, []int)
func (*BinaryExpr) GetOp ¶
func (m *BinaryExpr) GetOp() Token
func (*BinaryExpr) GetOpPos ¶
func (m *BinaryExpr) GetOpPos() int32
func (*BinaryExpr) GetTypeRef ¶
func (m *BinaryExpr) GetTypeRef() *TypeRef
func (*BinaryExpr) GetX ¶
func (m *BinaryExpr) GetX() *Expr
func (*BinaryExpr) GetY ¶
func (m *BinaryExpr) GetY() *Expr
func (*BinaryExpr) ProtoMessage ¶
func (*BinaryExpr) ProtoMessage()
func (*BinaryExpr) Reset ¶
func (m *BinaryExpr) Reset()
func (*BinaryExpr) String ¶
func (m *BinaryExpr) String() string
func (*BinaryExpr) XXX_DiscardUnknown ¶
func (m *BinaryExpr) XXX_DiscardUnknown()
func (*BinaryExpr) XXX_Marshal ¶
func (m *BinaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BinaryExpr) XXX_Merge ¶
func (dst *BinaryExpr) XXX_Merge(src proto.Message)
func (*BinaryExpr) XXX_Size ¶
func (m *BinaryExpr) XXX_Size() int
func (*BinaryExpr) XXX_Unmarshal ¶
func (m *BinaryExpr) XXX_Unmarshal(b []byte) error
type BlockStmt ¶
type BlockStmt struct { Lbrace int32 `protobuf:"varint,1,opt,name=lbrace" json:"lbrace,omitempty"` List []*Stmt `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Rbrace int32 `protobuf:"varint,3,opt,name=rbrace" json:"rbrace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockStmt) Descriptor ¶
func (*BlockStmt) ProtoMessage ¶
func (*BlockStmt) ProtoMessage()
func (*BlockStmt) XXX_DiscardUnknown ¶
func (m *BlockStmt) XXX_DiscardUnknown()
func (*BlockStmt) XXX_Marshal ¶
func (*BlockStmt) XXX_Unmarshal ¶
type BranchStmt ¶
type BranchStmt struct { TokPos int32 `protobuf:"varint,1,opt,name=tok_pos,json=tokPos" json:"tok_pos,omitempty"` Tok Token `protobuf:"varint,2,opt,name=tok,enum=pb.Token" json:"tok,omitempty"` Label *Ident `protobuf:"bytes,3,opt,name=label" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BranchStmt) Descriptor ¶
func (*BranchStmt) Descriptor() ([]byte, []int)
func (*BranchStmt) GetLabel ¶
func (m *BranchStmt) GetLabel() *Ident
func (*BranchStmt) GetTok ¶
func (m *BranchStmt) GetTok() Token
func (*BranchStmt) GetTokPos ¶
func (m *BranchStmt) GetTokPos() int32
func (*BranchStmt) ProtoMessage ¶
func (*BranchStmt) ProtoMessage()
func (*BranchStmt) Reset ¶
func (m *BranchStmt) Reset()
func (*BranchStmt) String ¶
func (m *BranchStmt) String() string
func (*BranchStmt) XXX_DiscardUnknown ¶
func (m *BranchStmt) XXX_DiscardUnknown()
func (*BranchStmt) XXX_Marshal ¶
func (m *BranchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BranchStmt) XXX_Merge ¶
func (dst *BranchStmt) XXX_Merge(src proto.Message)
func (*BranchStmt) XXX_Size ¶
func (m *BranchStmt) XXX_Size() int
func (*BranchStmt) XXX_Unmarshal ¶
func (m *BranchStmt) XXX_Unmarshal(b []byte) error
type CallExpr ¶
type CallExpr struct { Fun *Expr `protobuf:"bytes,1,opt,name=fun" json:"fun,omitempty"` Lparen int32 `protobuf:"varint,2,opt,name=lparen" json:"lparen,omitempty"` Args []*Expr `protobuf:"bytes,3,rep,name=args" json:"args,omitempty"` Ellipsis int32 `protobuf:"varint,4,opt,name=ellipsis" json:"ellipsis,omitempty"` Rparen int32 `protobuf:"varint,5,opt,name=rparen" json:"rparen,omitempty"` TypeRef *TypeRef `protobuf:"bytes,6,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallExpr) Descriptor ¶
func (*CallExpr) GetEllipsis ¶
func (*CallExpr) GetTypeRef ¶
func (*CallExpr) ProtoMessage ¶
func (*CallExpr) ProtoMessage()
func (*CallExpr) XXX_DiscardUnknown ¶
func (m *CallExpr) XXX_DiscardUnknown()
func (*CallExpr) XXX_Marshal ¶
func (*CallExpr) XXX_Unmarshal ¶
type CaseClause ¶
type CaseClause struct { Case int32 `protobuf:"varint,1,opt,name=case" json:"case,omitempty"` List []*Expr `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Colon int32 `protobuf:"varint,3,opt,name=colon" json:"colon,omitempty"` Body []*Stmt `protobuf:"bytes,4,rep,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CaseClause) Descriptor ¶
func (*CaseClause) Descriptor() ([]byte, []int)
func (*CaseClause) GetBody ¶
func (m *CaseClause) GetBody() []*Stmt
func (*CaseClause) GetCase ¶
func (m *CaseClause) GetCase() int32
func (*CaseClause) GetColon ¶
func (m *CaseClause) GetColon() int32
func (*CaseClause) GetList ¶
func (m *CaseClause) GetList() []*Expr
func (*CaseClause) ProtoMessage ¶
func (*CaseClause) ProtoMessage()
func (*CaseClause) Reset ¶
func (m *CaseClause) Reset()
func (*CaseClause) String ¶
func (m *CaseClause) String() string
func (*CaseClause) XXX_DiscardUnknown ¶
func (m *CaseClause) XXX_DiscardUnknown()
func (*CaseClause) XXX_Marshal ¶
func (m *CaseClause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CaseClause) XXX_Merge ¶
func (dst *CaseClause) XXX_Merge(src proto.Message)
func (*CaseClause) XXX_Size ¶
func (m *CaseClause) XXX_Size() int
func (*CaseClause) XXX_Unmarshal ¶
func (m *CaseClause) XXX_Unmarshal(b []byte) error
type ChanType ¶
type ChanType struct { Begin int32 `protobuf:"varint,1,opt,name=begin" json:"begin,omitempty"` Arrow int32 `protobuf:"varint,2,opt,name=arrow" json:"arrow,omitempty"` SendDir bool `protobuf:"varint,3,opt,name=send_dir,json=sendDir" json:"send_dir,omitempty"` RecvDir bool `protobuf:"varint,4,opt,name=recv_dir,json=recvDir" json:"recv_dir,omitempty"` Value *Expr `protobuf:"bytes,5,opt,name=value" json:"value,omitempty"` TypeRef *TypeRef `protobuf:"bytes,6,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChanType) Descriptor ¶
func (*ChanType) GetRecvDir ¶
func (*ChanType) GetSendDir ¶
func (*ChanType) GetTypeRef ¶
func (*ChanType) ProtoMessage ¶
func (*ChanType) ProtoMessage()
func (*ChanType) XXX_DiscardUnknown ¶
func (m *ChanType) XXX_DiscardUnknown()
func (*ChanType) XXX_Marshal ¶
func (*ChanType) XXX_Unmarshal ¶
type CommClause ¶
type CommClause struct { Case int32 `protobuf:"varint,1,opt,name=case" json:"case,omitempty"` Comm *Stmt `protobuf:"bytes,2,opt,name=comm" json:"comm,omitempty"` Colon int32 `protobuf:"varint,3,opt,name=colon" json:"colon,omitempty"` Body []*Stmt `protobuf:"bytes,4,rep,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommClause) Descriptor ¶
func (*CommClause) Descriptor() ([]byte, []int)
func (*CommClause) GetBody ¶
func (m *CommClause) GetBody() []*Stmt
func (*CommClause) GetCase ¶
func (m *CommClause) GetCase() int32
func (*CommClause) GetColon ¶
func (m *CommClause) GetColon() int32
func (*CommClause) GetComm ¶
func (m *CommClause) GetComm() *Stmt
func (*CommClause) ProtoMessage ¶
func (*CommClause) ProtoMessage()
func (*CommClause) Reset ¶
func (m *CommClause) Reset()
func (*CommClause) String ¶
func (m *CommClause) String() string
func (*CommClause) XXX_DiscardUnknown ¶
func (m *CommClause) XXX_DiscardUnknown()
func (*CommClause) XXX_Marshal ¶
func (m *CommClause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommClause) XXX_Merge ¶
func (dst *CommClause) XXX_Merge(src proto.Message)
func (*CommClause) XXX_Size ¶
func (m *CommClause) XXX_Size() int
func (*CommClause) XXX_Unmarshal ¶
func (m *CommClause) XXX_Unmarshal(b []byte) error
type Comment ¶
type Comment struct { Slash int32 `protobuf:"varint,1,opt,name=slash" json:"slash,omitempty"` Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Comment) Descriptor ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) XXX_DiscardUnknown ¶
func (m *Comment) XXX_DiscardUnknown()
func (*Comment) XXX_Marshal ¶
func (*Comment) XXX_Unmarshal ¶
type CommentGroup ¶
type CommentGroup struct { List []*Comment `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommentGroup) Descriptor ¶
func (*CommentGroup) Descriptor() ([]byte, []int)
func (*CommentGroup) GetList ¶
func (m *CommentGroup) GetList() []*Comment
func (*CommentGroup) ProtoMessage ¶
func (*CommentGroup) ProtoMessage()
func (*CommentGroup) Reset ¶
func (m *CommentGroup) Reset()
func (*CommentGroup) String ¶
func (m *CommentGroup) String() string
func (*CommentGroup) XXX_DiscardUnknown ¶
func (m *CommentGroup) XXX_DiscardUnknown()
func (*CommentGroup) XXX_Marshal ¶
func (m *CommentGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommentGroup) XXX_Merge ¶
func (dst *CommentGroup) XXX_Merge(src proto.Message)
func (*CommentGroup) XXX_Size ¶
func (m *CommentGroup) XXX_Size() int
func (*CommentGroup) XXX_Unmarshal ¶
func (m *CommentGroup) XXX_Unmarshal(b []byte) error
type CompositeLit ¶
type CompositeLit struct { Type *Expr `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Lbrace int32 `protobuf:"varint,2,opt,name=lbrace" json:"lbrace,omitempty"` Elts []*Expr `protobuf:"bytes,3,rep,name=elts" json:"elts,omitempty"` Rbrace int32 `protobuf:"varint,4,opt,name=rbrace" json:"rbrace,omitempty"` TypeRef *TypeRef `protobuf:"bytes,5,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompositeLit) Descriptor ¶
func (*CompositeLit) Descriptor() ([]byte, []int)
func (*CompositeLit) GetElts ¶
func (m *CompositeLit) GetElts() []*Expr
func (*CompositeLit) GetLbrace ¶
func (m *CompositeLit) GetLbrace() int32
func (*CompositeLit) GetRbrace ¶
func (m *CompositeLit) GetRbrace() int32
func (*CompositeLit) GetType ¶
func (m *CompositeLit) GetType() *Expr
func (*CompositeLit) GetTypeRef ¶
func (m *CompositeLit) GetTypeRef() *TypeRef
func (*CompositeLit) ProtoMessage ¶
func (*CompositeLit) ProtoMessage()
func (*CompositeLit) Reset ¶
func (m *CompositeLit) Reset()
func (*CompositeLit) String ¶
func (m *CompositeLit) String() string
func (*CompositeLit) XXX_DiscardUnknown ¶
func (m *CompositeLit) XXX_DiscardUnknown()
func (*CompositeLit) XXX_Marshal ¶
func (m *CompositeLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompositeLit) XXX_Merge ¶
func (dst *CompositeLit) XXX_Merge(src proto.Message)
func (*CompositeLit) XXX_Size ¶
func (m *CompositeLit) XXX_Size() int
func (*CompositeLit) XXX_Unmarshal ¶
func (m *CompositeLit) XXX_Unmarshal(b []byte) error
type ConstantValue ¶
type ConstantValue struct { // Types that are valid to be assigned to Value: // *ConstantValue_Unknown // *ConstantValue_Bool // *ConstantValue_String_ // *ConstantValue_Int // *ConstantValue_Float // *ConstantValue_Complex Value isConstantValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConstantValue) Descriptor ¶
func (*ConstantValue) Descriptor() ([]byte, []int)
func (*ConstantValue) GetBool ¶
func (m *ConstantValue) GetBool() bool
func (*ConstantValue) GetComplex ¶
func (m *ConstantValue) GetComplex() string
func (*ConstantValue) GetFloat ¶
func (m *ConstantValue) GetFloat() string
func (*ConstantValue) GetInt ¶
func (m *ConstantValue) GetInt() string
func (*ConstantValue) GetString_ ¶
func (m *ConstantValue) GetString_() string
func (*ConstantValue) GetUnknown ¶
func (m *ConstantValue) GetUnknown() string
func (*ConstantValue) GetValue ¶
func (m *ConstantValue) GetValue() isConstantValue_Value
func (*ConstantValue) ProtoMessage ¶
func (*ConstantValue) ProtoMessage()
func (*ConstantValue) Reset ¶
func (m *ConstantValue) Reset()
func (*ConstantValue) String ¶
func (m *ConstantValue) String() string
func (*ConstantValue) XXX_DiscardUnknown ¶
func (m *ConstantValue) XXX_DiscardUnknown()
func (*ConstantValue) XXX_Marshal ¶
func (m *ConstantValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConstantValue) XXX_Merge ¶
func (dst *ConstantValue) XXX_Merge(src proto.Message)
func (*ConstantValue) XXX_OneofFuncs ¶
func (*ConstantValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ConstantValue) XXX_Size ¶
func (m *ConstantValue) XXX_Size() int
func (*ConstantValue) XXX_Unmarshal ¶
func (m *ConstantValue) XXX_Unmarshal(b []byte) error
type ConstantValue_Bool ¶
type ConstantValue_Bool struct {
Bool bool `protobuf:"varint,2,opt,name=bool,oneof"`
}
type ConstantValue_Complex ¶
type ConstantValue_Complex struct {
Complex string `protobuf:"bytes,6,opt,name=complex,oneof"`
}
type ConstantValue_Float ¶
type ConstantValue_Float struct {
Float string `protobuf:"bytes,5,opt,name=float,oneof"`
}
type ConstantValue_Int ¶
type ConstantValue_Int struct {
Int string `protobuf:"bytes,4,opt,name=int,oneof"`
}
type ConstantValue_String_ ¶
type ConstantValue_String_ struct {
String_ string `protobuf:"bytes,3,opt,name=string,oneof"`
}
type ConstantValue_Unknown ¶
type ConstantValue_Unknown struct {
Unknown string `protobuf:"bytes,1,opt,name=unknown,oneof"`
}
type Decl ¶
type Decl struct { // Types that are valid to be assigned to Decl: // *Decl_BadDecl // *Decl_GenDecl // *Decl_FuncDecl Decl isDecl_Decl `protobuf_oneof:"decl"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Decl) Descriptor ¶
func (*Decl) GetBadDecl ¶
func (*Decl) GetFuncDecl ¶
func (*Decl) GetGenDecl ¶
func (*Decl) ProtoMessage ¶
func (*Decl) ProtoMessage()
func (*Decl) XXX_DiscardUnknown ¶
func (m *Decl) XXX_DiscardUnknown()
func (*Decl) XXX_OneofFuncs ¶
func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Decl) XXX_Unmarshal ¶
type DeclStmt ¶
type DeclStmt struct { Decl *Decl `protobuf:"bytes,1,opt,name=decl" json:"decl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeclStmt) Descriptor ¶
func (*DeclStmt) ProtoMessage ¶
func (*DeclStmt) ProtoMessage()
func (*DeclStmt) XXX_DiscardUnknown ¶
func (m *DeclStmt) XXX_DiscardUnknown()
func (*DeclStmt) XXX_Marshal ¶
func (*DeclStmt) XXX_Unmarshal ¶
type Decl_BadDecl ¶
type Decl_BadDecl struct {
BadDecl *BadDecl `protobuf:"bytes,1,opt,name=bad_decl,json=badDecl,oneof"`
}
type Decl_FuncDecl ¶
type Decl_FuncDecl struct {
FuncDecl *FuncDecl `protobuf:"bytes,3,opt,name=func_decl,json=funcDecl,oneof"`
}
type Decl_GenDecl ¶
type Decl_GenDecl struct {
GenDecl *GenDecl `protobuf:"bytes,2,opt,name=gen_decl,json=genDecl,oneof"`
}
type DeferStmt ¶
type DeferStmt struct { Defer int32 `protobuf:"varint,1,opt,name=defer" json:"defer,omitempty"` Call *CallExpr `protobuf:"bytes,2,opt,name=call" json:"call,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeferStmt) Descriptor ¶
func (*DeferStmt) ProtoMessage ¶
func (*DeferStmt) ProtoMessage()
func (*DeferStmt) XXX_DiscardUnknown ¶
func (m *DeferStmt) XXX_DiscardUnknown()
func (*DeferStmt) XXX_Marshal ¶
func (*DeferStmt) XXX_Unmarshal ¶
type Ellipsis ¶
type Ellipsis struct { Ellipsis int32 `protobuf:"varint,1,opt,name=ellipsis" json:"ellipsis,omitempty"` Elt *Expr `protobuf:"bytes,2,opt,name=elt" json:"elt,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Ellipsis) Descriptor ¶
func (*Ellipsis) GetEllipsis ¶
func (*Ellipsis) GetTypeRef ¶
func (*Ellipsis) ProtoMessage ¶
func (*Ellipsis) ProtoMessage()
func (*Ellipsis) XXX_DiscardUnknown ¶
func (m *Ellipsis) XXX_DiscardUnknown()
func (*Ellipsis) XXX_Marshal ¶
func (*Ellipsis) XXX_Unmarshal ¶
type EmptyStmt ¶
type EmptyStmt struct { Semicolon int32 `protobuf:"varint,1,opt,name=semicolon" json:"semicolon,omitempty"` Implicit bool `protobuf:"varint,2,opt,name=implicit" json:"implicit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyStmt) Descriptor ¶
func (*EmptyStmt) GetImplicit ¶
func (*EmptyStmt) GetSemicolon ¶
func (*EmptyStmt) ProtoMessage ¶
func (*EmptyStmt) ProtoMessage()
func (*EmptyStmt) XXX_DiscardUnknown ¶
func (m *EmptyStmt) XXX_DiscardUnknown()
func (*EmptyStmt) XXX_Marshal ¶
func (*EmptyStmt) XXX_Unmarshal ¶
type Expr ¶
type Expr struct { // Types that are valid to be assigned to Expr: // *Expr_BadExpr // *Expr_Ident // *Expr_Ellipsis // *Expr_BasicLit // *Expr_FuncLit // *Expr_CompositeLit // *Expr_ParenExpr // *Expr_SelectorExpr // *Expr_IndexExpr // *Expr_SliceExpr // *Expr_TypeAssertExpr // *Expr_CallExpr // *Expr_StarExpr // *Expr_UnaryExpr // *Expr_BinaryExpr // *Expr_KeyValueExpr // *Expr_ArrayType // *Expr_StructType // *Expr_FuncType // *Expr_InterfaceType // *Expr_MapType // *Expr_ChanType Expr isExpr_Expr `protobuf_oneof:"expr"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Expr) Descriptor ¶
func (*Expr) GetArrayType ¶
func (*Expr) GetBadExpr ¶
func (*Expr) GetBasicLit ¶
func (*Expr) GetBinaryExpr ¶
func (m *Expr) GetBinaryExpr() *BinaryExpr
func (*Expr) GetCallExpr ¶
func (*Expr) GetChanType ¶
func (*Expr) GetCompositeLit ¶
func (m *Expr) GetCompositeLit() *CompositeLit
func (*Expr) GetEllipsis ¶
func (*Expr) GetFuncLit ¶
func (*Expr) GetFuncType ¶
func (*Expr) GetIndexExpr ¶
func (*Expr) GetInterfaceType ¶
func (m *Expr) GetInterfaceType() *InterfaceType
func (*Expr) GetKeyValueExpr ¶
func (m *Expr) GetKeyValueExpr() *KeyValueExpr
func (*Expr) GetMapType ¶
func (*Expr) GetParenExpr ¶
func (*Expr) GetSelectorExpr ¶
func (m *Expr) GetSelectorExpr() *SelectorExpr
func (*Expr) GetSliceExpr ¶
func (*Expr) GetStarExpr ¶
func (*Expr) GetStructType ¶
func (m *Expr) GetStructType() *StructType
func (*Expr) GetTypeAssertExpr ¶
func (m *Expr) GetTypeAssertExpr() *TypeAssertExpr
func (*Expr) GetUnaryExpr ¶
func (*Expr) ProtoMessage ¶
func (*Expr) ProtoMessage()
func (*Expr) XXX_DiscardUnknown ¶
func (m *Expr) XXX_DiscardUnknown()
func (*Expr) XXX_OneofFuncs ¶
func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Expr) XXX_Unmarshal ¶
type ExprStmt ¶
type ExprStmt struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExprStmt) Descriptor ¶
func (*ExprStmt) ProtoMessage ¶
func (*ExprStmt) ProtoMessage()
func (*ExprStmt) XXX_DiscardUnknown ¶
func (m *ExprStmt) XXX_DiscardUnknown()
func (*ExprStmt) XXX_Marshal ¶
func (*ExprStmt) XXX_Unmarshal ¶
type Expr_ArrayType ¶
type Expr_ArrayType struct {
ArrayType *ArrayType `protobuf:"bytes,17,opt,name=array_type,json=arrayType,oneof"`
}
type Expr_BadExpr ¶
type Expr_BadExpr struct {
BadExpr *BadExpr `protobuf:"bytes,1,opt,name=bad_expr,json=badExpr,oneof"`
}
type Expr_BasicLit ¶
type Expr_BasicLit struct {
BasicLit *BasicLit `protobuf:"bytes,4,opt,name=basic_lit,json=basicLit,oneof"`
}
type Expr_BinaryExpr ¶
type Expr_BinaryExpr struct {
BinaryExpr *BinaryExpr `protobuf:"bytes,15,opt,name=binary_expr,json=binaryExpr,oneof"`
}
type Expr_CallExpr ¶
type Expr_CallExpr struct {
CallExpr *CallExpr `protobuf:"bytes,12,opt,name=call_expr,json=callExpr,oneof"`
}
type Expr_ChanType ¶
type Expr_ChanType struct {
ChanType *ChanType `protobuf:"bytes,22,opt,name=chan_type,json=chanType,oneof"`
}
type Expr_CompositeLit ¶
type Expr_CompositeLit struct {
CompositeLit *CompositeLit `protobuf:"bytes,6,opt,name=composite_lit,json=compositeLit,oneof"`
}
type Expr_Ellipsis ¶
type Expr_Ellipsis struct {
Ellipsis *Ellipsis `protobuf:"bytes,3,opt,name=ellipsis,oneof"`
}
type Expr_FuncLit ¶
type Expr_FuncLit struct {
FuncLit *FuncLit `protobuf:"bytes,5,opt,name=func_lit,json=funcLit,oneof"`
}
type Expr_FuncType ¶
type Expr_FuncType struct {
FuncType *FuncType `protobuf:"bytes,19,opt,name=func_type,json=funcType,oneof"`
}
type Expr_Ident ¶
type Expr_Ident struct {
Ident *Ident `protobuf:"bytes,2,opt,name=ident,oneof"`
}
type Expr_IndexExpr ¶
type Expr_IndexExpr struct {
IndexExpr *IndexExpr `protobuf:"bytes,9,opt,name=index_expr,json=indexExpr,oneof"`
}
type Expr_InterfaceType ¶
type Expr_InterfaceType struct {
InterfaceType *InterfaceType `protobuf:"bytes,20,opt,name=interface_type,json=interfaceType,oneof"`
}
type Expr_KeyValueExpr ¶
type Expr_KeyValueExpr struct {
KeyValueExpr *KeyValueExpr `protobuf:"bytes,16,opt,name=key_value_expr,json=keyValueExpr,oneof"`
}
type Expr_MapType ¶
type Expr_MapType struct {
MapType *MapType `protobuf:"bytes,21,opt,name=map_type,json=mapType,oneof"`
}
type Expr_ParenExpr ¶
type Expr_ParenExpr struct {
ParenExpr *ParenExpr `protobuf:"bytes,7,opt,name=paren_expr,json=parenExpr,oneof"`
}
type Expr_SelectorExpr ¶
type Expr_SelectorExpr struct {
SelectorExpr *SelectorExpr `protobuf:"bytes,8,opt,name=selector_expr,json=selectorExpr,oneof"`
}
type Expr_SliceExpr ¶
type Expr_SliceExpr struct {
SliceExpr *SliceExpr `protobuf:"bytes,10,opt,name=slice_expr,json=sliceExpr,oneof"`
}
type Expr_StarExpr ¶
type Expr_StarExpr struct {
StarExpr *StarExpr `protobuf:"bytes,13,opt,name=star_expr,json=starExpr,oneof"`
}
type Expr_StructType ¶
type Expr_StructType struct {
StructType *StructType `protobuf:"bytes,18,opt,name=struct_type,json=structType,oneof"`
}
type Expr_TypeAssertExpr ¶
type Expr_TypeAssertExpr struct {
TypeAssertExpr *TypeAssertExpr `protobuf:"bytes,11,opt,name=type_assert_expr,json=typeAssertExpr,oneof"`
}
type Expr_UnaryExpr ¶
type Expr_UnaryExpr struct {
UnaryExpr *UnaryExpr `protobuf:"bytes,14,opt,name=unary_expr,json=unaryExpr,oneof"`
}
type Field ¶
type Field struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` Names []*Ident `protobuf:"bytes,2,rep,name=names" json:"names,omitempty"` Type *Expr `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` Tag *BasicLit `protobuf:"bytes,4,opt,name=tag" json:"tag,omitempty"` Comment *CommentGroup `protobuf:"bytes,5,opt,name=comment" json:"comment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) GetComment ¶
func (m *Field) GetComment() *CommentGroup
func (*Field) GetDoc ¶
func (m *Field) GetDoc() *CommentGroup
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
type FieldList ¶
type FieldList struct { Opening int32 `protobuf:"varint,1,opt,name=opening" json:"opening,omitempty"` List []*Field `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` Closing int32 `protobuf:"varint,3,opt,name=closing" json:"closing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldList) Descriptor ¶
func (*FieldList) GetClosing ¶
func (*FieldList) GetOpening ¶
func (*FieldList) ProtoMessage ¶
func (*FieldList) ProtoMessage()
func (*FieldList) XXX_DiscardUnknown ¶
func (m *FieldList) XXX_DiscardUnknown()
func (*FieldList) XXX_Marshal ¶
func (*FieldList) XXX_Unmarshal ¶
type File ¶
type File struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName" json:"file_name,omitempty"` Doc *CommentGroup `protobuf:"bytes,2,opt,name=doc" json:"doc,omitempty"` Package int32 `protobuf:"varint,3,opt,name=package" json:"package,omitempty"` Name *Ident `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` Decls []*Decl `protobuf:"bytes,5,rep,name=decls" json:"decls,omitempty"` Imports []*ImportSpec `protobuf:"bytes,6,rep,name=imports" json:"imports,omitempty"` Unresolved []*Ident `protobuf:"bytes,7,rep,name=unresolved" json:"unresolved,omitempty"` Comments []*CommentGroup `protobuf:"bytes,8,rep,name=comments" json:"comments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*File) Descriptor ¶
func (*File) GetComments ¶
func (m *File) GetComments() []*CommentGroup
func (*File) GetDoc ¶
func (m *File) GetDoc() *CommentGroup
func (*File) GetFileName ¶
func (*File) GetImports ¶
func (m *File) GetImports() []*ImportSpec
func (*File) GetPackage ¶
func (*File) GetUnresolved ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) XXX_DiscardUnknown ¶
func (m *File) XXX_DiscardUnknown()
func (*File) XXX_Unmarshal ¶
type ForStmt ¶
type ForStmt struct { For int32 `protobuf:"varint,1,opt,name=for" json:"for,omitempty"` Init *Stmt `protobuf:"bytes,2,opt,name=init" json:"init,omitempty"` Cond *Expr `protobuf:"bytes,3,opt,name=cond" json:"cond,omitempty"` Post *Stmt `protobuf:"bytes,4,opt,name=post" json:"post,omitempty"` Body *BlockStmt `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ForStmt) Descriptor ¶
func (*ForStmt) ProtoMessage ¶
func (*ForStmt) ProtoMessage()
func (*ForStmt) XXX_DiscardUnknown ¶
func (m *ForStmt) XXX_DiscardUnknown()
func (*ForStmt) XXX_Marshal ¶
func (*ForStmt) XXX_Unmarshal ¶
type FuncDecl ¶
type FuncDecl struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` Recv *FieldList `protobuf:"bytes,2,opt,name=recv" json:"recv,omitempty"` Name *Ident `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Type *FuncType `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` Body *BlockStmt `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FuncDecl) Descriptor ¶
func (*FuncDecl) GetDoc ¶
func (m *FuncDecl) GetDoc() *CommentGroup
func (*FuncDecl) ProtoMessage ¶
func (*FuncDecl) ProtoMessage()
func (*FuncDecl) XXX_DiscardUnknown ¶
func (m *FuncDecl) XXX_DiscardUnknown()
func (*FuncDecl) XXX_Marshal ¶
func (*FuncDecl) XXX_Unmarshal ¶
type FuncLit ¶
type FuncLit struct { Type *FuncType `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Body *BlockStmt `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FuncLit) Descriptor ¶
func (*FuncLit) GetTypeRef ¶
func (*FuncLit) ProtoMessage ¶
func (*FuncLit) ProtoMessage()
func (*FuncLit) XXX_DiscardUnknown ¶
func (m *FuncLit) XXX_DiscardUnknown()
func (*FuncLit) XXX_Marshal ¶
func (*FuncLit) XXX_Unmarshal ¶
type FuncType ¶
type FuncType struct { Func int32 `protobuf:"varint,1,opt,name=func" json:"func,omitempty"` Params *FieldList `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` Results *FieldList `protobuf:"bytes,3,opt,name=results" json:"results,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FuncType) Descriptor ¶
func (*FuncType) GetResults ¶
func (*FuncType) GetTypeRef ¶
func (*FuncType) ProtoMessage ¶
func (*FuncType) ProtoMessage()
func (*FuncType) XXX_DiscardUnknown ¶
func (m *FuncType) XXX_DiscardUnknown()
func (*FuncType) XXX_Marshal ¶
func (*FuncType) XXX_Unmarshal ¶
type GenDecl ¶
type GenDecl struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` TokPos int32 `protobuf:"varint,2,opt,name=tok_pos,json=tokPos" json:"tok_pos,omitempty"` Tok Token `protobuf:"varint,3,opt,name=tok,enum=pb.Token" json:"tok,omitempty"` Lparen int32 `protobuf:"varint,4,opt,name=lparen" json:"lparen,omitempty"` Specs []*Spec `protobuf:"bytes,5,rep,name=specs" json:"specs,omitempty"` Rparen int32 `protobuf:"varint,6,opt,name=rparen" json:"rparen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenDecl) Descriptor ¶
func (*GenDecl) GetDoc ¶
func (m *GenDecl) GetDoc() *CommentGroup
func (*GenDecl) ProtoMessage ¶
func (*GenDecl) ProtoMessage()
func (*GenDecl) XXX_DiscardUnknown ¶
func (m *GenDecl) XXX_DiscardUnknown()
func (*GenDecl) XXX_Marshal ¶
func (*GenDecl) XXX_Unmarshal ¶
type GoStmt ¶
type GoStmt struct { Go int32 `protobuf:"varint,1,opt,name=go" json:"go,omitempty"` Call *CallExpr `protobuf:"bytes,2,opt,name=call" json:"call,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GoStmt) Descriptor ¶
func (*GoStmt) ProtoMessage ¶
func (*GoStmt) ProtoMessage()
func (*GoStmt) XXX_DiscardUnknown ¶
func (m *GoStmt) XXX_DiscardUnknown()
func (*GoStmt) XXX_Marshal ¶
func (*GoStmt) XXX_Unmarshal ¶
type Ident ¶
type Ident struct { NamePos int32 `protobuf:"varint,1,opt,name=name_pos,json=namePos" json:"name_pos,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` DefTypeRef *TypeRef `protobuf:"bytes,4,opt,name=def_type_ref,json=defTypeRef" json:"def_type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Ident) Descriptor ¶
func (*Ident) GetDefTypeRef ¶
func (*Ident) GetNamePos ¶
func (*Ident) GetTypeRef ¶
func (*Ident) ProtoMessage ¶
func (*Ident) ProtoMessage()
func (*Ident) XXX_DiscardUnknown ¶
func (m *Ident) XXX_DiscardUnknown()
func (*Ident) XXX_Marshal ¶
func (*Ident) XXX_Unmarshal ¶
type IfStmt ¶
type IfStmt struct { If int32 `protobuf:"varint,1,opt,name=if" json:"if,omitempty"` Init *Stmt `protobuf:"bytes,2,opt,name=init" json:"init,omitempty"` Cond *Expr `protobuf:"bytes,3,opt,name=cond" json:"cond,omitempty"` Body *BlockStmt `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"` Else *Stmt `protobuf:"bytes,5,opt,name=else" json:"else,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IfStmt) Descriptor ¶
func (*IfStmt) ProtoMessage ¶
func (*IfStmt) ProtoMessage()
func (*IfStmt) XXX_DiscardUnknown ¶
func (m *IfStmt) XXX_DiscardUnknown()
func (*IfStmt) XXX_Marshal ¶
func (*IfStmt) XXX_Unmarshal ¶
type ImportSpec ¶
type ImportSpec struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` Name *Ident `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Path *BasicLit `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Comment *CommentGroup `protobuf:"bytes,4,opt,name=comment" json:"comment,omitempty"` EndPos int32 `protobuf:"varint,5,opt,name=end_pos,json=endPos" json:"end_pos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportSpec) Descriptor ¶
func (*ImportSpec) Descriptor() ([]byte, []int)
func (*ImportSpec) GetComment ¶
func (m *ImportSpec) GetComment() *CommentGroup
func (*ImportSpec) GetDoc ¶
func (m *ImportSpec) GetDoc() *CommentGroup
func (*ImportSpec) GetEndPos ¶
func (m *ImportSpec) GetEndPos() int32
func (*ImportSpec) GetName ¶
func (m *ImportSpec) GetName() *Ident
func (*ImportSpec) GetPath ¶
func (m *ImportSpec) GetPath() *BasicLit
func (*ImportSpec) ProtoMessage ¶
func (*ImportSpec) ProtoMessage()
func (*ImportSpec) Reset ¶
func (m *ImportSpec) Reset()
func (*ImportSpec) String ¶
func (m *ImportSpec) String() string
func (*ImportSpec) XXX_DiscardUnknown ¶
func (m *ImportSpec) XXX_DiscardUnknown()
func (*ImportSpec) XXX_Marshal ¶
func (m *ImportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportSpec) XXX_Merge ¶
func (dst *ImportSpec) XXX_Merge(src proto.Message)
func (*ImportSpec) XXX_Size ¶
func (m *ImportSpec) XXX_Size() int
func (*ImportSpec) XXX_Unmarshal ¶
func (m *ImportSpec) XXX_Unmarshal(b []byte) error
type IncDecStmt ¶
type IncDecStmt struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` TokPos int32 `protobuf:"varint,2,opt,name=tok_pos,json=tokPos" json:"tok_pos,omitempty"` Tok Token `protobuf:"varint,3,opt,name=tok,enum=pb.Token" json:"tok,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncDecStmt) Descriptor ¶
func (*IncDecStmt) Descriptor() ([]byte, []int)
func (*IncDecStmt) GetTok ¶
func (m *IncDecStmt) GetTok() Token
func (*IncDecStmt) GetTokPos ¶
func (m *IncDecStmt) GetTokPos() int32
func (*IncDecStmt) GetX ¶
func (m *IncDecStmt) GetX() *Expr
func (*IncDecStmt) ProtoMessage ¶
func (*IncDecStmt) ProtoMessage()
func (*IncDecStmt) Reset ¶
func (m *IncDecStmt) Reset()
func (*IncDecStmt) String ¶
func (m *IncDecStmt) String() string
func (*IncDecStmt) XXX_DiscardUnknown ¶
func (m *IncDecStmt) XXX_DiscardUnknown()
func (*IncDecStmt) XXX_Marshal ¶
func (m *IncDecStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncDecStmt) XXX_Merge ¶
func (dst *IncDecStmt) XXX_Merge(src proto.Message)
func (*IncDecStmt) XXX_Size ¶
func (m *IncDecStmt) XXX_Size() int
func (*IncDecStmt) XXX_Unmarshal ¶
func (m *IncDecStmt) XXX_Unmarshal(b []byte) error
type IndexExpr ¶
type IndexExpr struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` Lbrack int32 `protobuf:"varint,2,opt,name=lbrack" json:"lbrack,omitempty"` Index *Expr `protobuf:"bytes,3,opt,name=index" json:"index,omitempty"` Rbrack int32 `protobuf:"varint,4,opt,name=rbrack" json:"rbrack,omitempty"` TypeRef *TypeRef `protobuf:"bytes,5,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexExpr) Descriptor ¶
func (*IndexExpr) GetTypeRef ¶
func (*IndexExpr) ProtoMessage ¶
func (*IndexExpr) ProtoMessage()
func (*IndexExpr) XXX_DiscardUnknown ¶
func (m *IndexExpr) XXX_DiscardUnknown()
func (*IndexExpr) XXX_Marshal ¶
func (*IndexExpr) XXX_Unmarshal ¶
type InterfaceType ¶
type InterfaceType struct { Interface int32 `protobuf:"varint,1,opt,name=interface" json:"interface,omitempty"` Methods *FieldList `protobuf:"bytes,2,opt,name=methods" json:"methods,omitempty"` Incomplete bool `protobuf:"varint,3,opt,name=incomplete" json:"incomplete,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterfaceType) Descriptor ¶
func (*InterfaceType) Descriptor() ([]byte, []int)
func (*InterfaceType) GetIncomplete ¶
func (m *InterfaceType) GetIncomplete() bool
func (*InterfaceType) GetInterface ¶
func (m *InterfaceType) GetInterface() int32
func (*InterfaceType) GetMethods ¶
func (m *InterfaceType) GetMethods() *FieldList
func (*InterfaceType) GetTypeRef ¶
func (m *InterfaceType) GetTypeRef() *TypeRef
func (*InterfaceType) ProtoMessage ¶
func (*InterfaceType) ProtoMessage()
func (*InterfaceType) Reset ¶
func (m *InterfaceType) Reset()
func (*InterfaceType) String ¶
func (m *InterfaceType) String() string
func (*InterfaceType) XXX_DiscardUnknown ¶
func (m *InterfaceType) XXX_DiscardUnknown()
func (*InterfaceType) XXX_Marshal ¶
func (m *InterfaceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterfaceType) XXX_Merge ¶
func (dst *InterfaceType) XXX_Merge(src proto.Message)
func (*InterfaceType) XXX_Size ¶
func (m *InterfaceType) XXX_Size() int
func (*InterfaceType) XXX_Unmarshal ¶
func (m *InterfaceType) XXX_Unmarshal(b []byte) error
type KeyValueExpr ¶
type KeyValueExpr struct { Key *Expr `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Colon int32 `protobuf:"varint,2,opt,name=colon" json:"colon,omitempty"` Value *Expr `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyValueExpr) Descriptor ¶
func (*KeyValueExpr) Descriptor() ([]byte, []int)
func (*KeyValueExpr) GetColon ¶
func (m *KeyValueExpr) GetColon() int32
func (*KeyValueExpr) GetKey ¶
func (m *KeyValueExpr) GetKey() *Expr
func (*KeyValueExpr) GetTypeRef ¶
func (m *KeyValueExpr) GetTypeRef() *TypeRef
func (*KeyValueExpr) GetValue ¶
func (m *KeyValueExpr) GetValue() *Expr
func (*KeyValueExpr) ProtoMessage ¶
func (*KeyValueExpr) ProtoMessage()
func (*KeyValueExpr) Reset ¶
func (m *KeyValueExpr) Reset()
func (*KeyValueExpr) String ¶
func (m *KeyValueExpr) String() string
func (*KeyValueExpr) XXX_DiscardUnknown ¶
func (m *KeyValueExpr) XXX_DiscardUnknown()
func (*KeyValueExpr) XXX_Marshal ¶
func (m *KeyValueExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyValueExpr) XXX_Merge ¶
func (dst *KeyValueExpr) XXX_Merge(src proto.Message)
func (*KeyValueExpr) XXX_Size ¶
func (m *KeyValueExpr) XXX_Size() int
func (*KeyValueExpr) XXX_Unmarshal ¶
func (m *KeyValueExpr) XXX_Unmarshal(b []byte) error
type LabeledStmt ¶
type LabeledStmt struct { Label *Ident `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"` Colon int32 `protobuf:"varint,2,opt,name=colon" json:"colon,omitempty"` Stmt *Stmt `protobuf:"bytes,3,opt,name=stmt" json:"stmt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LabeledStmt) Descriptor ¶
func (*LabeledStmt) Descriptor() ([]byte, []int)
func (*LabeledStmt) GetColon ¶
func (m *LabeledStmt) GetColon() int32
func (*LabeledStmt) GetLabel ¶
func (m *LabeledStmt) GetLabel() *Ident
func (*LabeledStmt) GetStmt ¶
func (m *LabeledStmt) GetStmt() *Stmt
func (*LabeledStmt) ProtoMessage ¶
func (*LabeledStmt) ProtoMessage()
func (*LabeledStmt) Reset ¶
func (m *LabeledStmt) Reset()
func (*LabeledStmt) String ¶
func (m *LabeledStmt) String() string
func (*LabeledStmt) XXX_DiscardUnknown ¶
func (m *LabeledStmt) XXX_DiscardUnknown()
func (*LabeledStmt) XXX_Marshal ¶
func (m *LabeledStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LabeledStmt) XXX_Merge ¶
func (dst *LabeledStmt) XXX_Merge(src proto.Message)
func (*LabeledStmt) XXX_Size ¶
func (m *LabeledStmt) XXX_Size() int
func (*LabeledStmt) XXX_Unmarshal ¶
func (m *LabeledStmt) XXX_Unmarshal(b []byte) error
type MapType ¶
type MapType struct { Map int32 `protobuf:"varint,1,opt,name=map" json:"map,omitempty"` Key *Expr `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` Value *Expr `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MapType) Descriptor ¶
func (*MapType) GetTypeRef ¶
func (*MapType) ProtoMessage ¶
func (*MapType) ProtoMessage()
func (*MapType) XXX_DiscardUnknown ¶
func (m *MapType) XXX_DiscardUnknown()
func (*MapType) XXX_Marshal ¶
func (*MapType) XXX_Unmarshal ¶
type Package ¶
type Package struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` Files []*File `protobuf:"bytes,3,rep,name=files" json:"files,omitempty"` Types []*Type `protobuf:"bytes,4,rep,name=types" json:"types,omitempty"` VarInitOrder []string `protobuf:"bytes,5,rep,name=var_init_order,json=varInitOrder" json:"var_init_order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Package) Descriptor ¶
func (*Package) GetVarInitOrder ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) XXX_DiscardUnknown ¶
func (m *Package) XXX_DiscardUnknown()
func (*Package) XXX_Marshal ¶
func (*Package) XXX_Unmarshal ¶
type Packages ¶
type Packages struct { Packages []*Package `protobuf:"bytes,1,rep,name=packages" json:"packages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Packages) Descriptor ¶
func (*Packages) GetPackages ¶
func (*Packages) ProtoMessage ¶
func (*Packages) ProtoMessage()
func (*Packages) XXX_DiscardUnknown ¶
func (m *Packages) XXX_DiscardUnknown()
func (*Packages) XXX_Marshal ¶
func (*Packages) XXX_Unmarshal ¶
type ParenExpr ¶
type ParenExpr struct { Lparen int32 `protobuf:"varint,1,opt,name=lparen" json:"lparen,omitempty"` X *Expr `protobuf:"bytes,2,opt,name=x" json:"x,omitempty"` Rparen int32 `protobuf:"varint,3,opt,name=rparen" json:"rparen,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParenExpr) Descriptor ¶
func (*ParenExpr) GetTypeRef ¶
func (*ParenExpr) ProtoMessage ¶
func (*ParenExpr) ProtoMessage()
func (*ParenExpr) XXX_DiscardUnknown ¶
func (m *ParenExpr) XXX_DiscardUnknown()
func (*ParenExpr) XXX_Marshal ¶
func (*ParenExpr) XXX_Unmarshal ¶
type RangeStmt ¶
type RangeStmt struct { For int32 `protobuf:"varint,1,opt,name=for" json:"for,omitempty"` Key *Expr `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` Value *Expr `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` TokPos int32 `protobuf:"varint,4,opt,name=tok_pos,json=tokPos" json:"tok_pos,omitempty"` Tok Token `protobuf:"varint,5,opt,name=tok,enum=pb.Token" json:"tok,omitempty"` X *Expr `protobuf:"bytes,6,opt,name=x" json:"x,omitempty"` Body *BlockStmt `protobuf:"bytes,7,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RangeStmt) Descriptor ¶
func (*RangeStmt) ProtoMessage ¶
func (*RangeStmt) ProtoMessage()
func (*RangeStmt) XXX_DiscardUnknown ¶
func (m *RangeStmt) XXX_DiscardUnknown()
func (*RangeStmt) XXX_Marshal ¶
func (*RangeStmt) XXX_Unmarshal ¶
type ReturnStmt ¶
type ReturnStmt struct { Return int32 `protobuf:"varint,1,opt,name=return" json:"return,omitempty"` Results []*Expr `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReturnStmt) Descriptor ¶
func (*ReturnStmt) Descriptor() ([]byte, []int)
func (*ReturnStmt) GetResults ¶
func (m *ReturnStmt) GetResults() []*Expr
func (*ReturnStmt) GetReturn ¶
func (m *ReturnStmt) GetReturn() int32
func (*ReturnStmt) ProtoMessage ¶
func (*ReturnStmt) ProtoMessage()
func (*ReturnStmt) Reset ¶
func (m *ReturnStmt) Reset()
func (*ReturnStmt) String ¶
func (m *ReturnStmt) String() string
func (*ReturnStmt) XXX_DiscardUnknown ¶
func (m *ReturnStmt) XXX_DiscardUnknown()
func (*ReturnStmt) XXX_Marshal ¶
func (m *ReturnStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReturnStmt) XXX_Merge ¶
func (dst *ReturnStmt) XXX_Merge(src proto.Message)
func (*ReturnStmt) XXX_Size ¶
func (m *ReturnStmt) XXX_Size() int
func (*ReturnStmt) XXX_Unmarshal ¶
func (m *ReturnStmt) XXX_Unmarshal(b []byte) error
type SelectStmt ¶
type SelectStmt struct { Select int32 `protobuf:"varint,1,opt,name=select" json:"select,omitempty"` Body *BlockStmt `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SelectStmt) Descriptor ¶
func (*SelectStmt) Descriptor() ([]byte, []int)
func (*SelectStmt) GetBody ¶
func (m *SelectStmt) GetBody() *BlockStmt
func (*SelectStmt) GetSelect ¶
func (m *SelectStmt) GetSelect() int32
func (*SelectStmt) ProtoMessage ¶
func (*SelectStmt) ProtoMessage()
func (*SelectStmt) Reset ¶
func (m *SelectStmt) Reset()
func (*SelectStmt) String ¶
func (m *SelectStmt) String() string
func (*SelectStmt) XXX_DiscardUnknown ¶
func (m *SelectStmt) XXX_DiscardUnknown()
func (*SelectStmt) XXX_Marshal ¶
func (m *SelectStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SelectStmt) XXX_Merge ¶
func (dst *SelectStmt) XXX_Merge(src proto.Message)
func (*SelectStmt) XXX_Size ¶
func (m *SelectStmt) XXX_Size() int
func (*SelectStmt) XXX_Unmarshal ¶
func (m *SelectStmt) XXX_Unmarshal(b []byte) error
type SelectorExpr ¶
type SelectorExpr struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` Sel *Ident `protobuf:"bytes,2,opt,name=sel" json:"sel,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SelectorExpr) Descriptor ¶
func (*SelectorExpr) Descriptor() ([]byte, []int)
func (*SelectorExpr) GetSel ¶
func (m *SelectorExpr) GetSel() *Ident
func (*SelectorExpr) GetTypeRef ¶
func (m *SelectorExpr) GetTypeRef() *TypeRef
func (*SelectorExpr) GetX ¶
func (m *SelectorExpr) GetX() *Expr
func (*SelectorExpr) ProtoMessage ¶
func (*SelectorExpr) ProtoMessage()
func (*SelectorExpr) Reset ¶
func (m *SelectorExpr) Reset()
func (*SelectorExpr) String ¶
func (m *SelectorExpr) String() string
func (*SelectorExpr) XXX_DiscardUnknown ¶
func (m *SelectorExpr) XXX_DiscardUnknown()
func (*SelectorExpr) XXX_Marshal ¶
func (m *SelectorExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SelectorExpr) XXX_Merge ¶
func (dst *SelectorExpr) XXX_Merge(src proto.Message)
func (*SelectorExpr) XXX_Size ¶
func (m *SelectorExpr) XXX_Size() int
func (*SelectorExpr) XXX_Unmarshal ¶
func (m *SelectorExpr) XXX_Unmarshal(b []byte) error
type SendStmt ¶
type SendStmt struct { Chan *Expr `protobuf:"bytes,1,opt,name=chan" json:"chan,omitempty"` Arrow int32 `protobuf:"varint,2,opt,name=arrow" json:"arrow,omitempty"` Value *Expr `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendStmt) Descriptor ¶
func (*SendStmt) ProtoMessage ¶
func (*SendStmt) ProtoMessage()
func (*SendStmt) XXX_DiscardUnknown ¶
func (m *SendStmt) XXX_DiscardUnknown()
func (*SendStmt) XXX_Marshal ¶
func (*SendStmt) XXX_Unmarshal ¶
type SliceExpr ¶
type SliceExpr struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` Lbrack int32 `protobuf:"varint,2,opt,name=lbrack" json:"lbrack,omitempty"` Low *Expr `protobuf:"bytes,3,opt,name=low" json:"low,omitempty"` High *Expr `protobuf:"bytes,4,opt,name=high" json:"high,omitempty"` Max *Expr `protobuf:"bytes,5,opt,name=max" json:"max,omitempty"` Slice3 bool `protobuf:"varint,6,opt,name=slice3" json:"slice3,omitempty"` Rbrack int32 `protobuf:"varint,7,opt,name=rbrack" json:"rbrack,omitempty"` TypeRef *TypeRef `protobuf:"bytes,8,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SliceExpr) Descriptor ¶
func (*SliceExpr) GetTypeRef ¶
func (*SliceExpr) ProtoMessage ¶
func (*SliceExpr) ProtoMessage()
func (*SliceExpr) XXX_DiscardUnknown ¶
func (m *SliceExpr) XXX_DiscardUnknown()
func (*SliceExpr) XXX_Marshal ¶
func (*SliceExpr) XXX_Unmarshal ¶
type Spec ¶
type Spec struct { // Types that are valid to be assigned to Spec: // *Spec_ImportSpec // *Spec_ValueSpec // *Spec_TypeSpec Spec isSpec_Spec `protobuf_oneof:"spec"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Spec) Descriptor ¶
func (*Spec) GetImportSpec ¶
func (m *Spec) GetImportSpec() *ImportSpec
func (*Spec) GetTypeSpec ¶
func (*Spec) GetValueSpec ¶
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
func (*Spec) XXX_DiscardUnknown ¶
func (m *Spec) XXX_DiscardUnknown()
func (*Spec) XXX_OneofFuncs ¶
func (*Spec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Spec) XXX_Unmarshal ¶
type Spec_ImportSpec ¶
type Spec_ImportSpec struct {
ImportSpec *ImportSpec `protobuf:"bytes,1,opt,name=import_spec,json=importSpec,oneof"`
}
type Spec_TypeSpec ¶
type Spec_TypeSpec struct {
TypeSpec *TypeSpec `protobuf:"bytes,3,opt,name=type_spec,json=typeSpec,oneof"`
}
type Spec_ValueSpec ¶
type Spec_ValueSpec struct {
ValueSpec *ValueSpec `protobuf:"bytes,2,opt,name=value_spec,json=valueSpec,oneof"`
}
type StarExpr ¶
type StarExpr struct { Star int32 `protobuf:"varint,1,opt,name=star" json:"star,omitempty"` X *Expr `protobuf:"bytes,2,opt,name=x" json:"x,omitempty"` TypeRef *TypeRef `protobuf:"bytes,3,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StarExpr) Descriptor ¶
func (*StarExpr) GetTypeRef ¶
func (*StarExpr) ProtoMessage ¶
func (*StarExpr) ProtoMessage()
func (*StarExpr) XXX_DiscardUnknown ¶
func (m *StarExpr) XXX_DiscardUnknown()
func (*StarExpr) XXX_Marshal ¶
func (*StarExpr) XXX_Unmarshal ¶
type Stmt ¶
type Stmt struct { // Types that are valid to be assigned to Stmt: // *Stmt_BadStmt // *Stmt_DeclStmt // *Stmt_EmptyStmt // *Stmt_LabeledStmt // *Stmt_ExprStmt // *Stmt_SendStmt // *Stmt_IncDecStmt // *Stmt_AssignStmt // *Stmt_GoStmt // *Stmt_DeferStmt // *Stmt_ReturnStmt // *Stmt_BranchStmt // *Stmt_BlockStmt // *Stmt_IfStmt // *Stmt_CaseClause // *Stmt_SwitchStmt // *Stmt_TypeSwitchStmt // *Stmt_CommClause // *Stmt_SelectStmt // *Stmt_ForStmt // *Stmt_RangeStmt Stmt isStmt_Stmt `protobuf_oneof:"stmt"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stmt) Descriptor ¶
func (*Stmt) GetAssignStmt ¶
func (m *Stmt) GetAssignStmt() *AssignStmt
func (*Stmt) GetBadStmt ¶
func (*Stmt) GetBlockStmt ¶
func (*Stmt) GetBranchStmt ¶
func (m *Stmt) GetBranchStmt() *BranchStmt
func (*Stmt) GetCaseClause ¶
func (m *Stmt) GetCaseClause() *CaseClause
func (*Stmt) GetCommClause ¶
func (m *Stmt) GetCommClause() *CommClause
func (*Stmt) GetDeclStmt ¶
func (*Stmt) GetDeferStmt ¶
func (*Stmt) GetEmptyStmt ¶
func (*Stmt) GetExprStmt ¶
func (*Stmt) GetForStmt ¶
func (*Stmt) GetIncDecStmt ¶
func (m *Stmt) GetIncDecStmt() *IncDecStmt
func (*Stmt) GetLabeledStmt ¶
func (m *Stmt) GetLabeledStmt() *LabeledStmt
func (*Stmt) GetRangeStmt ¶
func (*Stmt) GetReturnStmt ¶
func (m *Stmt) GetReturnStmt() *ReturnStmt
func (*Stmt) GetSelectStmt ¶
func (m *Stmt) GetSelectStmt() *SelectStmt
func (*Stmt) GetSendStmt ¶
func (*Stmt) GetSwitchStmt ¶
func (m *Stmt) GetSwitchStmt() *SwitchStmt
func (*Stmt) GetTypeSwitchStmt ¶
func (m *Stmt) GetTypeSwitchStmt() *TypeSwitchStmt
func (*Stmt) ProtoMessage ¶
func (*Stmt) ProtoMessage()
func (*Stmt) XXX_DiscardUnknown ¶
func (m *Stmt) XXX_DiscardUnknown()
func (*Stmt) XXX_OneofFuncs ¶
func (*Stmt) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Stmt) XXX_Unmarshal ¶
type Stmt_AssignStmt ¶
type Stmt_AssignStmt struct {
AssignStmt *AssignStmt `protobuf:"bytes,8,opt,name=assign_stmt,json=assignStmt,oneof"`
}
type Stmt_BadStmt ¶
type Stmt_BadStmt struct {
BadStmt *BadStmt `protobuf:"bytes,1,opt,name=bad_stmt,json=badStmt,oneof"`
}
type Stmt_BlockStmt ¶
type Stmt_BlockStmt struct {
BlockStmt *BlockStmt `protobuf:"bytes,13,opt,name=block_stmt,json=blockStmt,oneof"`
}
type Stmt_BranchStmt ¶
type Stmt_BranchStmt struct {
BranchStmt *BranchStmt `protobuf:"bytes,12,opt,name=branch_stmt,json=branchStmt,oneof"`
}
type Stmt_CaseClause ¶
type Stmt_CaseClause struct {
CaseClause *CaseClause `protobuf:"bytes,15,opt,name=case_clause,json=caseClause,oneof"`
}
type Stmt_CommClause ¶
type Stmt_CommClause struct {
CommClause *CommClause `protobuf:"bytes,18,opt,name=comm_clause,json=commClause,oneof"`
}
type Stmt_DeclStmt ¶
type Stmt_DeclStmt struct {
DeclStmt *DeclStmt `protobuf:"bytes,2,opt,name=decl_stmt,json=declStmt,oneof"`
}
type Stmt_DeferStmt ¶
type Stmt_DeferStmt struct {
DeferStmt *DeferStmt `protobuf:"bytes,10,opt,name=defer_stmt,json=deferStmt,oneof"`
}
type Stmt_EmptyStmt ¶
type Stmt_EmptyStmt struct {
EmptyStmt *EmptyStmt `protobuf:"bytes,3,opt,name=empty_stmt,json=emptyStmt,oneof"`
}
type Stmt_ExprStmt ¶
type Stmt_ExprStmt struct {
ExprStmt *ExprStmt `protobuf:"bytes,5,opt,name=expr_stmt,json=exprStmt,oneof"`
}
type Stmt_ForStmt ¶
type Stmt_ForStmt struct {
ForStmt *ForStmt `protobuf:"bytes,20,opt,name=for_stmt,json=forStmt,oneof"`
}
type Stmt_GoStmt ¶
type Stmt_GoStmt struct {
GoStmt *GoStmt `protobuf:"bytes,9,opt,name=go_stmt,json=goStmt,oneof"`
}
type Stmt_IfStmt ¶
type Stmt_IfStmt struct {
IfStmt *IfStmt `protobuf:"bytes,14,opt,name=if_stmt,json=ifStmt,oneof"`
}
type Stmt_IncDecStmt ¶
type Stmt_IncDecStmt struct {
IncDecStmt *IncDecStmt `protobuf:"bytes,7,opt,name=inc_dec_stmt,json=incDecStmt,oneof"`
}
type Stmt_LabeledStmt ¶
type Stmt_LabeledStmt struct {
LabeledStmt *LabeledStmt `protobuf:"bytes,4,opt,name=labeled_stmt,json=labeledStmt,oneof"`
}
type Stmt_RangeStmt ¶
type Stmt_RangeStmt struct {
RangeStmt *RangeStmt `protobuf:"bytes,21,opt,name=range_stmt,json=rangeStmt,oneof"`
}
type Stmt_ReturnStmt ¶
type Stmt_ReturnStmt struct {
ReturnStmt *ReturnStmt `protobuf:"bytes,11,opt,name=return_stmt,json=returnStmt,oneof"`
}
type Stmt_SelectStmt ¶
type Stmt_SelectStmt struct {
SelectStmt *SelectStmt `protobuf:"bytes,19,opt,name=select_stmt,json=selectStmt,oneof"`
}
type Stmt_SendStmt ¶
type Stmt_SendStmt struct {
SendStmt *SendStmt `protobuf:"bytes,6,opt,name=send_stmt,json=sendStmt,oneof"`
}
type Stmt_SwitchStmt ¶
type Stmt_SwitchStmt struct {
SwitchStmt *SwitchStmt `protobuf:"bytes,16,opt,name=switch_stmt,json=switchStmt,oneof"`
}
type Stmt_TypeSwitchStmt ¶
type Stmt_TypeSwitchStmt struct {
TypeSwitchStmt *TypeSwitchStmt `protobuf:"bytes,17,opt,name=type_switch_stmt,json=typeSwitchStmt,oneof"`
}
type StructType ¶
type StructType struct { Struct int32 `protobuf:"varint,1,opt,name=struct" json:"struct,omitempty"` Fields *FieldList `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"` Incomplete bool `protobuf:"varint,3,opt,name=incomplete" json:"incomplete,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StructType) Descriptor ¶
func (*StructType) Descriptor() ([]byte, []int)
func (*StructType) GetFields ¶
func (m *StructType) GetFields() *FieldList
func (*StructType) GetIncomplete ¶
func (m *StructType) GetIncomplete() bool
func (*StructType) GetStruct ¶
func (m *StructType) GetStruct() int32
func (*StructType) GetTypeRef ¶
func (m *StructType) GetTypeRef() *TypeRef
func (*StructType) ProtoMessage ¶
func (*StructType) ProtoMessage()
func (*StructType) Reset ¶
func (m *StructType) Reset()
func (*StructType) String ¶
func (m *StructType) String() string
func (*StructType) XXX_DiscardUnknown ¶
func (m *StructType) XXX_DiscardUnknown()
func (*StructType) XXX_Marshal ¶
func (m *StructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StructType) XXX_Merge ¶
func (dst *StructType) XXX_Merge(src proto.Message)
func (*StructType) XXX_Size ¶
func (m *StructType) XXX_Size() int
func (*StructType) XXX_Unmarshal ¶
func (m *StructType) XXX_Unmarshal(b []byte) error
type SwitchStmt ¶
type SwitchStmt struct { Switch int32 `protobuf:"varint,1,opt,name=switch" json:"switch,omitempty"` Init *Stmt `protobuf:"bytes,2,opt,name=init" json:"init,omitempty"` Tag *Expr `protobuf:"bytes,3,opt,name=tag" json:"tag,omitempty"` Body *BlockStmt `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SwitchStmt) Descriptor ¶
func (*SwitchStmt) Descriptor() ([]byte, []int)
func (*SwitchStmt) GetBody ¶
func (m *SwitchStmt) GetBody() *BlockStmt
func (*SwitchStmt) GetInit ¶
func (m *SwitchStmt) GetInit() *Stmt
func (*SwitchStmt) GetSwitch ¶
func (m *SwitchStmt) GetSwitch() int32
func (*SwitchStmt) GetTag ¶
func (m *SwitchStmt) GetTag() *Expr
func (*SwitchStmt) ProtoMessage ¶
func (*SwitchStmt) ProtoMessage()
func (*SwitchStmt) Reset ¶
func (m *SwitchStmt) Reset()
func (*SwitchStmt) String ¶
func (m *SwitchStmt) String() string
func (*SwitchStmt) XXX_DiscardUnknown ¶
func (m *SwitchStmt) XXX_DiscardUnknown()
func (*SwitchStmt) XXX_Marshal ¶
func (m *SwitchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwitchStmt) XXX_Merge ¶
func (dst *SwitchStmt) XXX_Merge(src proto.Message)
func (*SwitchStmt) XXX_Size ¶
func (m *SwitchStmt) XXX_Size() int
func (*SwitchStmt) XXX_Unmarshal ¶
func (m *SwitchStmt) XXX_Unmarshal(b []byte) error
type Token ¶
type Token int32
const ( Token_ILLEGAL Token = 0 Token_EOF Token = 1 Token_COMMENT Token = 2 Token_IDENT Token = 4 Token_INT Token = 5 Token_FLOAT Token = 6 Token_IMAG Token = 7 Token_CHAR Token = 8 Token_STRING Token = 9 Token_ADD Token = 12 Token_SUB Token = 13 Token_MUL Token = 14 Token_QUO Token = 15 Token_REM Token = 16 Token_AND Token = 17 Token_OR Token = 18 Token_XOR Token = 19 Token_SHL Token = 20 Token_SHR Token = 21 Token_AND_NOT Token = 22 Token_ADD_ASSIGN Token = 23 Token_SUB_ASSIGN Token = 24 Token_MUL_ASSIGN Token = 25 Token_QUO_ASSIGN Token = 26 Token_REM_ASSIGN Token = 27 Token_AND_ASSIGN Token = 28 Token_OR_ASSIGN Token = 29 Token_XOR_ASSIGN Token = 30 Token_SHL_ASSIGN Token = 31 Token_SHR_ASSIGN Token = 32 Token_AND_NOT_ASSIGN Token = 33 Token_LAND Token = 34 Token_LOR Token = 35 Token_ARROW Token = 36 Token_INC Token = 37 Token_DEC Token = 38 Token_EQL Token = 39 Token_LSS Token = 40 Token_GTR Token = 41 Token_ASSIGN Token = 42 Token_NOT Token = 43 Token_NEQ Token = 44 Token_LEQ Token = 45 Token_GEQ Token = 46 Token_DEFINE Token = 47 Token_ELLIPSIS Token = 48 Token_LPAREN Token = 49 Token_LBRACK Token = 50 Token_LBRACE Token = 51 Token_COMMA Token = 52 Token_PERIOD Token = 53 Token_RPAREN Token = 54 Token_RBRACK Token = 55 Token_RBRACE Token = 56 Token_SEMICOLON Token = 57 Token_COLON Token = 58 Token_BREAK Token = 61 Token_CASE Token = 62 Token_CHAN Token = 63 Token_CONST Token = 64 Token_CONTINUE Token = 65 Token_DEFAULT Token = 66 Token_DEFER Token = 67 Token_ELSE Token = 68 Token_FALLTHROUGH Token = 69 Token_FOR Token = 70 Token_FUNC Token = 71 Token_GO Token = 72 Token_GOTO Token = 73 Token_IF Token = 74 Token_IMPORT Token = 75 Token_INTERFACE Token = 76 Token_MAP Token = 77 Token_PACKAGE Token = 78 Token_RANGE Token = 79 Token_RETURN Token = 80 Token_SELECT Token = 81 Token_STRUCT Token = 82 Token_SWITCH Token = 83 Token_TYPE Token = 84 Token_VAR Token = 85 )
func (Token) EnumDescriptor ¶
type Type ¶
type Type struct { Package string `protobuf:"bytes,1,opt,name=package" json:"package,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // Types that are valid to be assigned to Type: // *Type_TypeArray // *Type_TypeBasic // *Type_TypeBuiltin // *Type_TypeChan // *Type_TypeConst // *Type_TypeFunc // *Type_TypeInterface // *Type_TypeLabel // *Type_TypeMap // *Type_TypeName // *Type_TypeNamed // *Type_TypeNil // *Type_TypePackage // *Type_TypePointer // *Type_TypeSignature // *Type_TypeSlice // *Type_TypeStruct // *Type_TypeTuple // *Type_TypeVar Type isType_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Type) Descriptor ¶
func (*Type) GetPackage ¶
func (*Type) GetTypeArray ¶
func (*Type) GetTypeBasic ¶
func (*Type) GetTypeBuiltin ¶
func (*Type) GetTypeChan ¶
func (*Type) GetTypeConst ¶
func (*Type) GetTypeFunc ¶
func (m *Type) GetTypeFunc() *TypeSignature
func (*Type) GetTypeInterface ¶
func (m *Type) GetTypeInterface() *TypeInterface
func (*Type) GetTypeLabel ¶
func (*Type) GetTypeMap ¶
func (*Type) GetTypeName ¶
func (*Type) GetTypeNamed ¶
func (*Type) GetTypeNil ¶
func (*Type) GetTypePackage ¶
func (*Type) GetTypePointer ¶
func (m *Type) GetTypePointer() *TypePointer
func (*Type) GetTypeSignature ¶
func (m *Type) GetTypeSignature() *TypeSignature
func (*Type) GetTypeSlice ¶
func (*Type) GetTypeStruct ¶
func (m *Type) GetTypeStruct() *TypeStruct
func (*Type) GetTypeTuple ¶
func (*Type) GetTypeVar ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) XXX_DiscardUnknown ¶
func (m *Type) XXX_DiscardUnknown()
func (*Type) XXX_OneofFuncs ¶
func (*Type) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Type) XXX_Unmarshal ¶
type TypeArray ¶
type TypeArray struct { Elem *TypeRef `protobuf:"bytes,1,opt,name=elem" json:"elem,omitempty"` Len int64 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeArray) Descriptor ¶
func (*TypeArray) ProtoMessage ¶
func (*TypeArray) ProtoMessage()
func (*TypeArray) XXX_DiscardUnknown ¶
func (m *TypeArray) XXX_DiscardUnknown()
func (*TypeArray) XXX_Marshal ¶
func (*TypeArray) XXX_Unmarshal ¶
type TypeAssertExpr ¶
type TypeAssertExpr struct { X *Expr `protobuf:"bytes,1,opt,name=x" json:"x,omitempty"` Lparen int32 `protobuf:"varint,2,opt,name=lparen" json:"lparen,omitempty"` Type *Expr `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` Rparen int32 `protobuf:"varint,4,opt,name=rparen" json:"rparen,omitempty"` TypeRef *TypeRef `protobuf:"bytes,5,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeAssertExpr) Descriptor ¶
func (*TypeAssertExpr) Descriptor() ([]byte, []int)
func (*TypeAssertExpr) GetLparen ¶
func (m *TypeAssertExpr) GetLparen() int32
func (*TypeAssertExpr) GetRparen ¶
func (m *TypeAssertExpr) GetRparen() int32
func (*TypeAssertExpr) GetType ¶
func (m *TypeAssertExpr) GetType() *Expr
func (*TypeAssertExpr) GetTypeRef ¶
func (m *TypeAssertExpr) GetTypeRef() *TypeRef
func (*TypeAssertExpr) GetX ¶
func (m *TypeAssertExpr) GetX() *Expr
func (*TypeAssertExpr) ProtoMessage ¶
func (*TypeAssertExpr) ProtoMessage()
func (*TypeAssertExpr) Reset ¶
func (m *TypeAssertExpr) Reset()
func (*TypeAssertExpr) String ¶
func (m *TypeAssertExpr) String() string
func (*TypeAssertExpr) XXX_DiscardUnknown ¶
func (m *TypeAssertExpr) XXX_DiscardUnknown()
func (*TypeAssertExpr) XXX_Marshal ¶
func (m *TypeAssertExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeAssertExpr) XXX_Merge ¶
func (dst *TypeAssertExpr) XXX_Merge(src proto.Message)
func (*TypeAssertExpr) XXX_Size ¶
func (m *TypeAssertExpr) XXX_Size() int
func (*TypeAssertExpr) XXX_Unmarshal ¶
func (m *TypeAssertExpr) XXX_Unmarshal(b []byte) error
type TypeBasic ¶
type TypeBasic struct { Flags int32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` Kind TypeBasic_Kind `protobuf:"varint,2,opt,name=kind,enum=pb.TypeBasic_Kind" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeBasic) Descriptor ¶
func (*TypeBasic) GetKind ¶
func (m *TypeBasic) GetKind() TypeBasic_Kind
func (*TypeBasic) ProtoMessage ¶
func (*TypeBasic) ProtoMessage()
func (*TypeBasic) XXX_DiscardUnknown ¶
func (m *TypeBasic) XXX_DiscardUnknown()
func (*TypeBasic) XXX_Marshal ¶
func (*TypeBasic) XXX_Unmarshal ¶
type TypeBasic_Kind ¶
type TypeBasic_Kind int32
const ( TypeBasic_INVALID TypeBasic_Kind = 0 TypeBasic_BOOL TypeBasic_Kind = 1 TypeBasic_INT TypeBasic_Kind = 2 TypeBasic_INT_8 TypeBasic_Kind = 3 TypeBasic_INT_16 TypeBasic_Kind = 4 TypeBasic_INT_32 TypeBasic_Kind = 5 TypeBasic_INT_64 TypeBasic_Kind = 6 TypeBasic_UINT TypeBasic_Kind = 7 TypeBasic_UINT_8 TypeBasic_Kind = 8 TypeBasic_UINT_16 TypeBasic_Kind = 9 TypeBasic_UINT_32 TypeBasic_Kind = 10 TypeBasic_UINT_64 TypeBasic_Kind = 11 TypeBasic_UINT_PTR TypeBasic_Kind = 12 TypeBasic_FLOAT_32 TypeBasic_Kind = 13 TypeBasic_FLOAT_64 TypeBasic_Kind = 14 TypeBasic_COMPLEX_64 TypeBasic_Kind = 15 TypeBasic_COMPLEX_128 TypeBasic_Kind = 16 TypeBasic_STRING TypeBasic_Kind = 17 TypeBasic_UNSAFE_POINTER TypeBasic_Kind = 18 TypeBasic_UNTYPED_BOOL TypeBasic_Kind = 19 TypeBasic_UNTYPED_INT TypeBasic_Kind = 20 TypeBasic_UNTYPED_RUNE TypeBasic_Kind = 21 TypeBasic_UNTYPED_FLOAT TypeBasic_Kind = 22 TypeBasic_UNTYPED_COMPLEX TypeBasic_Kind = 23 TypeBasic_UNTYPED_STRING TypeBasic_Kind = 24 TypeBasic_UNTYPED_NIL TypeBasic_Kind = 25 )
func (TypeBasic_Kind) EnumDescriptor ¶
func (TypeBasic_Kind) EnumDescriptor() ([]byte, []int)
func (TypeBasic_Kind) String ¶
func (x TypeBasic_Kind) String() string
type TypeChan ¶
type TypeChan struct { Elem *TypeRef `protobuf:"bytes,1,opt,name=elem" json:"elem,omitempty"` SendDir bool `protobuf:"varint,2,opt,name=send_dir,json=sendDir" json:"send_dir,omitempty"` RecvDir bool `protobuf:"varint,3,opt,name=recv_dir,json=recvDir" json:"recv_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeChan) Descriptor ¶
func (*TypeChan) GetRecvDir ¶
func (*TypeChan) GetSendDir ¶
func (*TypeChan) ProtoMessage ¶
func (*TypeChan) ProtoMessage()
func (*TypeChan) XXX_DiscardUnknown ¶
func (m *TypeChan) XXX_DiscardUnknown()
func (*TypeChan) XXX_Marshal ¶
func (*TypeChan) XXX_Unmarshal ¶
type TypeConst ¶
type TypeConst struct { Type *TypeRef `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Value *ConstantValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeConst) Descriptor ¶
func (*TypeConst) GetValue ¶
func (m *TypeConst) GetValue() *ConstantValue
func (*TypeConst) ProtoMessage ¶
func (*TypeConst) ProtoMessage()
func (*TypeConst) XXX_DiscardUnknown ¶
func (m *TypeConst) XXX_DiscardUnknown()
func (*TypeConst) XXX_Marshal ¶
func (*TypeConst) XXX_Unmarshal ¶
type TypeInterface ¶
type TypeInterface struct { ExplicitMethods []*TypeRef `protobuf:"bytes,1,rep,name=explicit_methods,json=explicitMethods" json:"explicit_methods,omitempty"` Embedded []*TypeRef `protobuf:"bytes,2,rep,name=embedded" json:"embedded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeInterface) Descriptor ¶
func (*TypeInterface) Descriptor() ([]byte, []int)
func (*TypeInterface) GetEmbedded ¶
func (m *TypeInterface) GetEmbedded() []*TypeRef
func (*TypeInterface) GetExplicitMethods ¶
func (m *TypeInterface) GetExplicitMethods() []*TypeRef
func (*TypeInterface) ProtoMessage ¶
func (*TypeInterface) ProtoMessage()
func (*TypeInterface) Reset ¶
func (m *TypeInterface) Reset()
func (*TypeInterface) String ¶
func (m *TypeInterface) String() string
func (*TypeInterface) XXX_DiscardUnknown ¶
func (m *TypeInterface) XXX_DiscardUnknown()
func (*TypeInterface) XXX_Marshal ¶
func (m *TypeInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeInterface) XXX_Merge ¶
func (dst *TypeInterface) XXX_Merge(src proto.Message)
func (*TypeInterface) XXX_Size ¶
func (m *TypeInterface) XXX_Size() int
func (*TypeInterface) XXX_Unmarshal ¶
func (m *TypeInterface) XXX_Unmarshal(b []byte) error
type TypeMap ¶
type TypeMap struct { Elem *TypeRef `protobuf:"bytes,1,opt,name=elem" json:"elem,omitempty"` Key *TypeRef `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeMap) Descriptor ¶
func (*TypeMap) ProtoMessage ¶
func (*TypeMap) ProtoMessage()
func (*TypeMap) XXX_DiscardUnknown ¶
func (m *TypeMap) XXX_DiscardUnknown()
func (*TypeMap) XXX_Marshal ¶
func (*TypeMap) XXX_Unmarshal ¶
type TypeNamed ¶
type TypeNamed struct { TypeName *TypeRef `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` Type *TypeRef `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Methods []*TypeRef `protobuf:"bytes,3,rep,name=methods" json:"methods,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeNamed) Descriptor ¶
func (*TypeNamed) GetMethods ¶
func (*TypeNamed) GetTypeName ¶
func (*TypeNamed) ProtoMessage ¶
func (*TypeNamed) ProtoMessage()
func (*TypeNamed) XXX_DiscardUnknown ¶
func (m *TypeNamed) XXX_DiscardUnknown()
func (*TypeNamed) XXX_Marshal ¶
func (*TypeNamed) XXX_Unmarshal ¶
type TypePointer ¶
type TypePointer struct { Elem *TypeRef `protobuf:"bytes,1,opt,name=elem" json:"elem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypePointer) Descriptor ¶
func (*TypePointer) Descriptor() ([]byte, []int)
func (*TypePointer) GetElem ¶
func (m *TypePointer) GetElem() *TypeRef
func (*TypePointer) ProtoMessage ¶
func (*TypePointer) ProtoMessage()
func (*TypePointer) Reset ¶
func (m *TypePointer) Reset()
func (*TypePointer) String ¶
func (m *TypePointer) String() string
func (*TypePointer) XXX_DiscardUnknown ¶
func (m *TypePointer) XXX_DiscardUnknown()
func (*TypePointer) XXX_Marshal ¶
func (m *TypePointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypePointer) XXX_Merge ¶
func (dst *TypePointer) XXX_Merge(src proto.Message)
func (*TypePointer) XXX_Size ¶
func (m *TypePointer) XXX_Size() int
func (*TypePointer) XXX_Unmarshal ¶
func (m *TypePointer) XXX_Unmarshal(b []byte) error
type TypeRef ¶
type TypeRef struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeRef) Descriptor ¶
func (*TypeRef) ProtoMessage ¶
func (*TypeRef) ProtoMessage()
func (*TypeRef) XXX_DiscardUnknown ¶
func (m *TypeRef) XXX_DiscardUnknown()
func (*TypeRef) XXX_Marshal ¶
func (*TypeRef) XXX_Unmarshal ¶
type TypeSignature ¶
type TypeSignature struct { Recv *TypeRef `protobuf:"bytes,1,opt,name=recv" json:"recv,omitempty"` Params []*TypeRef `protobuf:"bytes,2,rep,name=params" json:"params,omitempty"` Results []*TypeRef `protobuf:"bytes,3,rep,name=results" json:"results,omitempty"` Variadic bool `protobuf:"varint,4,opt,name=variadic" json:"variadic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeSignature) Descriptor ¶
func (*TypeSignature) Descriptor() ([]byte, []int)
func (*TypeSignature) GetParams ¶
func (m *TypeSignature) GetParams() []*TypeRef
func (*TypeSignature) GetRecv ¶
func (m *TypeSignature) GetRecv() *TypeRef
func (*TypeSignature) GetResults ¶
func (m *TypeSignature) GetResults() []*TypeRef
func (*TypeSignature) GetVariadic ¶
func (m *TypeSignature) GetVariadic() bool
func (*TypeSignature) ProtoMessage ¶
func (*TypeSignature) ProtoMessage()
func (*TypeSignature) Reset ¶
func (m *TypeSignature) Reset()
func (*TypeSignature) String ¶
func (m *TypeSignature) String() string
func (*TypeSignature) XXX_DiscardUnknown ¶
func (m *TypeSignature) XXX_DiscardUnknown()
func (*TypeSignature) XXX_Marshal ¶
func (m *TypeSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeSignature) XXX_Merge ¶
func (dst *TypeSignature) XXX_Merge(src proto.Message)
func (*TypeSignature) XXX_Size ¶
func (m *TypeSignature) XXX_Size() int
func (*TypeSignature) XXX_Unmarshal ¶
func (m *TypeSignature) XXX_Unmarshal(b []byte) error
type TypeSlice ¶
type TypeSlice struct { Elem *TypeRef `protobuf:"bytes,1,opt,name=elem" json:"elem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeSlice) Descriptor ¶
func (*TypeSlice) ProtoMessage ¶
func (*TypeSlice) ProtoMessage()
func (*TypeSlice) XXX_DiscardUnknown ¶
func (m *TypeSlice) XXX_DiscardUnknown()
func (*TypeSlice) XXX_Marshal ¶
func (*TypeSlice) XXX_Unmarshal ¶
type TypeSpec ¶
type TypeSpec struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` Name *Ident `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Assign int32 `protobuf:"varint,3,opt,name=assign" json:"assign,omitempty"` Type *Expr `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` Comment *CommentGroup `protobuf:"bytes,5,opt,name=comment" json:"comment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeSpec) Descriptor ¶
func (*TypeSpec) GetComment ¶
func (m *TypeSpec) GetComment() *CommentGroup
func (*TypeSpec) GetDoc ¶
func (m *TypeSpec) GetDoc() *CommentGroup
func (*TypeSpec) ProtoMessage ¶
func (*TypeSpec) ProtoMessage()
func (*TypeSpec) XXX_DiscardUnknown ¶
func (m *TypeSpec) XXX_DiscardUnknown()
func (*TypeSpec) XXX_Marshal ¶
func (*TypeSpec) XXX_Unmarshal ¶
type TypeStruct ¶
type TypeStruct struct { Fields []*TypeRef `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeStruct) Descriptor ¶
func (*TypeStruct) Descriptor() ([]byte, []int)
func (*TypeStruct) GetFields ¶
func (m *TypeStruct) GetFields() []*TypeRef
func (*TypeStruct) ProtoMessage ¶
func (*TypeStruct) ProtoMessage()
func (*TypeStruct) Reset ¶
func (m *TypeStruct) Reset()
func (*TypeStruct) String ¶
func (m *TypeStruct) String() string
func (*TypeStruct) XXX_DiscardUnknown ¶
func (m *TypeStruct) XXX_DiscardUnknown()
func (*TypeStruct) XXX_Marshal ¶
func (m *TypeStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeStruct) XXX_Merge ¶
func (dst *TypeStruct) XXX_Merge(src proto.Message)
func (*TypeStruct) XXX_Size ¶
func (m *TypeStruct) XXX_Size() int
func (*TypeStruct) XXX_Unmarshal ¶
func (m *TypeStruct) XXX_Unmarshal(b []byte) error
type TypeSwitchStmt ¶
type TypeSwitchStmt struct { Switch int32 `protobuf:"varint,1,opt,name=switch" json:"switch,omitempty"` Init *Stmt `protobuf:"bytes,2,opt,name=init" json:"init,omitempty"` Assign *Stmt `protobuf:"bytes,3,opt,name=assign" json:"assign,omitempty"` Body *BlockStmt `protobuf:"bytes,4,opt,name=body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeSwitchStmt) Descriptor ¶
func (*TypeSwitchStmt) Descriptor() ([]byte, []int)
func (*TypeSwitchStmt) GetAssign ¶
func (m *TypeSwitchStmt) GetAssign() *Stmt
func (*TypeSwitchStmt) GetBody ¶
func (m *TypeSwitchStmt) GetBody() *BlockStmt
func (*TypeSwitchStmt) GetInit ¶
func (m *TypeSwitchStmt) GetInit() *Stmt
func (*TypeSwitchStmt) GetSwitch ¶
func (m *TypeSwitchStmt) GetSwitch() int32
func (*TypeSwitchStmt) ProtoMessage ¶
func (*TypeSwitchStmt) ProtoMessage()
func (*TypeSwitchStmt) Reset ¶
func (m *TypeSwitchStmt) Reset()
func (*TypeSwitchStmt) String ¶
func (m *TypeSwitchStmt) String() string
func (*TypeSwitchStmt) XXX_DiscardUnknown ¶
func (m *TypeSwitchStmt) XXX_DiscardUnknown()
func (*TypeSwitchStmt) XXX_Marshal ¶
func (m *TypeSwitchStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeSwitchStmt) XXX_Merge ¶
func (dst *TypeSwitchStmt) XXX_Merge(src proto.Message)
func (*TypeSwitchStmt) XXX_Size ¶
func (m *TypeSwitchStmt) XXX_Size() int
func (*TypeSwitchStmt) XXX_Unmarshal ¶
func (m *TypeSwitchStmt) XXX_Unmarshal(b []byte) error
type TypeTuple ¶
type TypeTuple struct { Vars []*TypeRef `protobuf:"bytes,1,rep,name=vars" json:"vars,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeTuple) Descriptor ¶
func (*TypeTuple) ProtoMessage ¶
func (*TypeTuple) ProtoMessage()
func (*TypeTuple) XXX_DiscardUnknown ¶
func (m *TypeTuple) XXX_DiscardUnknown()
func (*TypeTuple) XXX_Marshal ¶
func (*TypeTuple) XXX_Unmarshal ¶
type TypeVar ¶
type TypeVar struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Type *TypeRef `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Embedded bool `protobuf:"varint,3,opt,name=embedded" json:"embedded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TypeVar) Descriptor ¶
func (*TypeVar) GetEmbedded ¶
func (*TypeVar) ProtoMessage ¶
func (*TypeVar) ProtoMessage()
func (*TypeVar) XXX_DiscardUnknown ¶
func (m *TypeVar) XXX_DiscardUnknown()
func (*TypeVar) XXX_Marshal ¶
func (*TypeVar) XXX_Unmarshal ¶
type Type_TypeArray ¶
type Type_TypeArray struct {
TypeArray *TypeArray `protobuf:"bytes,3,opt,name=type_array,json=typeArray,oneof"`
}
type Type_TypeBasic ¶
type Type_TypeBasic struct {
TypeBasic *TypeBasic `protobuf:"bytes,4,opt,name=type_basic,json=typeBasic,oneof"`
}
type Type_TypeBuiltin ¶
type Type_TypeBuiltin struct {
TypeBuiltin bool `protobuf:"varint,5,opt,name=type_builtin,json=typeBuiltin,oneof"`
}
type Type_TypeChan ¶
type Type_TypeChan struct {
TypeChan *TypeChan `protobuf:"bytes,6,opt,name=type_chan,json=typeChan,oneof"`
}
type Type_TypeConst ¶
type Type_TypeConst struct {
TypeConst *TypeConst `protobuf:"bytes,7,opt,name=type_const,json=typeConst,oneof"`
}
type Type_TypeFunc ¶
type Type_TypeFunc struct {
TypeFunc *TypeSignature `protobuf:"bytes,8,opt,name=type_func,json=typeFunc,oneof"`
}
type Type_TypeInterface ¶
type Type_TypeInterface struct {
TypeInterface *TypeInterface `protobuf:"bytes,9,opt,name=type_interface,json=typeInterface,oneof"`
}
type Type_TypeLabel ¶
type Type_TypeLabel struct {
TypeLabel *TypeRef `protobuf:"bytes,10,opt,name=type_label,json=typeLabel,oneof"`
}
type Type_TypeMap ¶
type Type_TypeMap struct {
TypeMap *TypeMap `protobuf:"bytes,11,opt,name=type_map,json=typeMap,oneof"`
}
type Type_TypeName ¶
type Type_TypeName struct {
TypeName *TypeRef `protobuf:"bytes,12,opt,name=type_name,json=typeName,oneof"`
}
type Type_TypeNamed ¶
type Type_TypeNamed struct {
TypeNamed *TypeNamed `protobuf:"bytes,13,opt,name=type_named,json=typeNamed,oneof"`
}
type Type_TypeNil ¶
type Type_TypeNil struct {
TypeNil *TypeRef `protobuf:"bytes,14,opt,name=type_nil,json=typeNil,oneof"`
}
type Type_TypePackage ¶
type Type_TypePackage struct {
TypePackage bool `protobuf:"varint,15,opt,name=type_package,json=typePackage,oneof"`
}
type Type_TypePointer ¶
type Type_TypePointer struct {
TypePointer *TypePointer `protobuf:"bytes,16,opt,name=type_pointer,json=typePointer,oneof"`
}
type Type_TypeSignature ¶
type Type_TypeSignature struct {
TypeSignature *TypeSignature `protobuf:"bytes,17,opt,name=type_signature,json=typeSignature,oneof"`
}
type Type_TypeSlice ¶
type Type_TypeSlice struct {
TypeSlice *TypeSlice `protobuf:"bytes,18,opt,name=type_slice,json=typeSlice,oneof"`
}
type Type_TypeStruct ¶
type Type_TypeStruct struct {
TypeStruct *TypeStruct `protobuf:"bytes,19,opt,name=type_struct,json=typeStruct,oneof"`
}
type Type_TypeTuple ¶
type Type_TypeTuple struct {
TypeTuple *TypeTuple `protobuf:"bytes,20,opt,name=type_tuple,json=typeTuple,oneof"`
}
type Type_TypeVar ¶
type Type_TypeVar struct {
TypeVar *TypeVar `protobuf:"bytes,21,opt,name=type_var,json=typeVar,oneof"`
}
type UnaryExpr ¶
type UnaryExpr struct { OpPos int32 `protobuf:"varint,1,opt,name=op_pos,json=opPos" json:"op_pos,omitempty"` Op Token `protobuf:"varint,2,opt,name=op,enum=pb.Token" json:"op,omitempty"` X *Expr `protobuf:"bytes,3,opt,name=x" json:"x,omitempty"` TypeRef *TypeRef `protobuf:"bytes,4,opt,name=type_ref,json=typeRef" json:"type_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnaryExpr) Descriptor ¶
func (*UnaryExpr) GetTypeRef ¶
func (*UnaryExpr) ProtoMessage ¶
func (*UnaryExpr) ProtoMessage()
func (*UnaryExpr) XXX_DiscardUnknown ¶
func (m *UnaryExpr) XXX_DiscardUnknown()
func (*UnaryExpr) XXX_Marshal ¶
func (*UnaryExpr) XXX_Unmarshal ¶
type ValueSpec ¶
type ValueSpec struct { Doc *CommentGroup `protobuf:"bytes,1,opt,name=doc" json:"doc,omitempty"` Names []*Ident `protobuf:"bytes,2,rep,name=names" json:"names,omitempty"` Type *Expr `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` Values []*Expr `protobuf:"bytes,4,rep,name=values" json:"values,omitempty"` Comment *CommentGroup `protobuf:"bytes,5,opt,name=comment" json:"comment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValueSpec) Descriptor ¶
func (*ValueSpec) GetComment ¶
func (m *ValueSpec) GetComment() *CommentGroup
func (*ValueSpec) GetDoc ¶
func (m *ValueSpec) GetDoc() *CommentGroup
func (*ValueSpec) ProtoMessage ¶
func (*ValueSpec) ProtoMessage()
func (*ValueSpec) XXX_DiscardUnknown ¶
func (m *ValueSpec) XXX_DiscardUnknown()
func (*ValueSpec) XXX_Marshal ¶
func (*ValueSpec) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.