pb

package
v0.0.0-...-70bd0f6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 3 Imported by: 0

README

With protoc on the PATH and protoc-gen-go on the PATH (usually via $GOPATH/bin), from this dir run:

protoc --go_out=. ast.proto token.proto type.proto

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*ArrayType) GetElt

func (m *ArrayType) GetElt() *Expr

func (*ArrayType) GetLbrack

func (m *ArrayType) GetLbrack() int32

func (*ArrayType) GetLen

func (m *ArrayType) GetLen() *Expr

func (*ArrayType) GetTypeRef

func (m *ArrayType) GetTypeRef() *TypeRef

func (*ArrayType) ProtoMessage

func (*ArrayType) ProtoMessage()

func (*ArrayType) Reset

func (m *ArrayType) Reset()

func (*ArrayType) String

func (m *ArrayType) String() string

func (*ArrayType) XXX_DiscardUnknown

func (m *ArrayType) XXX_DiscardUnknown()

func (*ArrayType) XXX_Marshal

func (m *ArrayType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArrayType) XXX_Merge

func (dst *ArrayType) XXX_Merge(src proto.Message)

func (*ArrayType) XXX_Size

func (m *ArrayType) XXX_Size() int

func (*ArrayType) XXX_Unmarshal

func (m *ArrayType) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*BadDecl) GetFrom

func (m *BadDecl) GetFrom() int32

func (*BadDecl) GetTo

func (m *BadDecl) GetTo() int32

func (*BadDecl) ProtoMessage

func (*BadDecl) ProtoMessage()

func (*BadDecl) Reset

func (m *BadDecl) Reset()

func (*BadDecl) String

func (m *BadDecl) String() string

func (*BadDecl) XXX_DiscardUnknown

func (m *BadDecl) XXX_DiscardUnknown()

func (*BadDecl) XXX_Marshal

func (m *BadDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BadDecl) XXX_Merge

func (dst *BadDecl) XXX_Merge(src proto.Message)

func (*BadDecl) XXX_Size

func (m *BadDecl) XXX_Size() int

func (*BadDecl) XXX_Unmarshal

func (m *BadDecl) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*BadExpr) GetFrom

func (m *BadExpr) GetFrom() int32

func (*BadExpr) GetTo

func (m *BadExpr) GetTo() int32

func (*BadExpr) GetTypeRef

func (m *BadExpr) GetTypeRef() *TypeRef

func (*BadExpr) ProtoMessage

func (*BadExpr) ProtoMessage()

func (*BadExpr) Reset

func (m *BadExpr) Reset()

func (*BadExpr) String

func (m *BadExpr) String() string

func (*BadExpr) XXX_DiscardUnknown

func (m *BadExpr) XXX_DiscardUnknown()

func (*BadExpr) XXX_Marshal

func (m *BadExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BadExpr) XXX_Merge

func (dst *BadExpr) XXX_Merge(src proto.Message)

func (*BadExpr) XXX_Size

func (m *BadExpr) XXX_Size() int

func (*BadExpr) XXX_Unmarshal

func (m *BadExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*BadStmt) GetFrom

func (m *BadStmt) GetFrom() int32

func (*BadStmt) GetTo

func (m *BadStmt) GetTo() int32

func (*BadStmt) ProtoMessage

func (*BadStmt) ProtoMessage()

func (*BadStmt) Reset

func (m *BadStmt) Reset()

func (*BadStmt) String

func (m *BadStmt) String() string

func (*BadStmt) XXX_DiscardUnknown

func (m *BadStmt) XXX_DiscardUnknown()

func (*BadStmt) XXX_Marshal

func (m *BadStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BadStmt) XXX_Merge

func (dst *BadStmt) XXX_Merge(src proto.Message)

func (*BadStmt) XXX_Size

func (m *BadStmt) XXX_Size() int

func (*BadStmt) XXX_Unmarshal

func (m *BadStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*BasicLit) GetKind

func (m *BasicLit) GetKind() Token

func (*BasicLit) GetTypeRef

func (m *BasicLit) GetTypeRef() *TypeRef

func (*BasicLit) GetValue

func (m *BasicLit) GetValue() string

func (*BasicLit) GetValuePos

func (m *BasicLit) GetValuePos() int32

func (*BasicLit) ProtoMessage

func (*BasicLit) ProtoMessage()

func (*BasicLit) Reset

func (m *BasicLit) Reset()

func (*BasicLit) String

func (m *BasicLit) String() string

func (*BasicLit) XXX_DiscardUnknown

func (m *BasicLit) XXX_DiscardUnknown()

func (*BasicLit) XXX_Marshal

func (m *BasicLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicLit) XXX_Merge

func (dst *BasicLit) XXX_Merge(src proto.Message)

func (*BasicLit) XXX_Size

func (m *BasicLit) XXX_Size() int

func (*BasicLit) XXX_Unmarshal

func (m *BasicLit) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*BlockStmt) GetLbrace

func (m *BlockStmt) GetLbrace() int32

func (*BlockStmt) GetList

func (m *BlockStmt) GetList() []*Stmt

func (*BlockStmt) GetRbrace

func (m *BlockStmt) GetRbrace() int32

func (*BlockStmt) ProtoMessage

func (*BlockStmt) ProtoMessage()

func (*BlockStmt) Reset

func (m *BlockStmt) Reset()

func (*BlockStmt) String

func (m *BlockStmt) String() string

func (*BlockStmt) XXX_DiscardUnknown

func (m *BlockStmt) XXX_DiscardUnknown()

func (*BlockStmt) XXX_Marshal

func (m *BlockStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockStmt) XXX_Merge

func (dst *BlockStmt) XXX_Merge(src proto.Message)

func (*BlockStmt) XXX_Size

func (m *BlockStmt) XXX_Size() int

func (*BlockStmt) XXX_Unmarshal

func (m *BlockStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*CallExpr) GetArgs

func (m *CallExpr) GetArgs() []*Expr

func (*CallExpr) GetEllipsis

func (m *CallExpr) GetEllipsis() int32

func (*CallExpr) GetFun

func (m *CallExpr) GetFun() *Expr

func (*CallExpr) GetLparen

func (m *CallExpr) GetLparen() int32

func (*CallExpr) GetRparen

func (m *CallExpr) GetRparen() int32

func (*CallExpr) GetTypeRef

func (m *CallExpr) GetTypeRef() *TypeRef

func (*CallExpr) ProtoMessage

func (*CallExpr) ProtoMessage()

func (*CallExpr) Reset

func (m *CallExpr) Reset()

func (*CallExpr) String

func (m *CallExpr) String() string

func (*CallExpr) XXX_DiscardUnknown

func (m *CallExpr) XXX_DiscardUnknown()

func (*CallExpr) XXX_Marshal

func (m *CallExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CallExpr) XXX_Merge

func (dst *CallExpr) XXX_Merge(src proto.Message)

func (*CallExpr) XXX_Size

func (m *CallExpr) XXX_Size() int

func (*CallExpr) XXX_Unmarshal

func (m *CallExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ChanType) GetArrow

func (m *ChanType) GetArrow() int32

func (*ChanType) GetBegin

func (m *ChanType) GetBegin() int32

func (*ChanType) GetRecvDir

func (m *ChanType) GetRecvDir() bool

func (*ChanType) GetSendDir

func (m *ChanType) GetSendDir() bool

func (*ChanType) GetTypeRef

func (m *ChanType) GetTypeRef() *TypeRef

func (*ChanType) GetValue

func (m *ChanType) GetValue() *Expr

func (*ChanType) ProtoMessage

func (*ChanType) ProtoMessage()

func (*ChanType) Reset

func (m *ChanType) Reset()

func (*ChanType) String

func (m *ChanType) String() string

func (*ChanType) XXX_DiscardUnknown

func (m *ChanType) XXX_DiscardUnknown()

func (*ChanType) XXX_Marshal

func (m *ChanType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanType) XXX_Merge

func (dst *ChanType) XXX_Merge(src proto.Message)

func (*ChanType) XXX_Size

func (m *ChanType) XXX_Size() int

func (*ChanType) XXX_Unmarshal

func (m *ChanType) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Comment) GetSlash

func (m *Comment) GetSlash() int32

func (*Comment) GetText

func (m *Comment) GetText() string

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) Reset

func (m *Comment) Reset()

func (*Comment) String

func (m *Comment) String() string

func (*Comment) XXX_DiscardUnknown

func (m *Comment) XXX_DiscardUnknown()

func (*Comment) XXX_Marshal

func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Comment) XXX_Merge

func (dst *Comment) XXX_Merge(src proto.Message)

func (*Comment) XXX_Size

func (m *Comment) XXX_Size() int

func (*Comment) XXX_Unmarshal

func (m *Comment) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Decl) GetBadDecl

func (m *Decl) GetBadDecl() *BadDecl

func (*Decl) GetDecl

func (m *Decl) GetDecl() isDecl_Decl

func (*Decl) GetFuncDecl

func (m *Decl) GetFuncDecl() *FuncDecl

func (*Decl) GetGenDecl

func (m *Decl) GetGenDecl() *GenDecl

func (*Decl) ProtoMessage

func (*Decl) ProtoMessage()

func (*Decl) Reset

func (m *Decl) Reset()

func (*Decl) String

func (m *Decl) String() string

func (*Decl) XXX_DiscardUnknown

func (m *Decl) XXX_DiscardUnknown()

func (*Decl) XXX_Marshal

func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Decl) XXX_Merge

func (dst *Decl) XXX_Merge(src proto.Message)

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_Size

func (m *Decl) XXX_Size() int

func (*Decl) XXX_Unmarshal

func (m *Decl) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*DeclStmt) GetDecl

func (m *DeclStmt) GetDecl() *Decl

func (*DeclStmt) ProtoMessage

func (*DeclStmt) ProtoMessage()

func (*DeclStmt) Reset

func (m *DeclStmt) Reset()

func (*DeclStmt) String

func (m *DeclStmt) String() string

func (*DeclStmt) XXX_DiscardUnknown

func (m *DeclStmt) XXX_DiscardUnknown()

func (*DeclStmt) XXX_Marshal

func (m *DeclStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeclStmt) XXX_Merge

func (dst *DeclStmt) XXX_Merge(src proto.Message)

func (*DeclStmt) XXX_Size

func (m *DeclStmt) XXX_Size() int

func (*DeclStmt) XXX_Unmarshal

func (m *DeclStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*DeferStmt) GetCall

func (m *DeferStmt) GetCall() *CallExpr

func (*DeferStmt) GetDefer

func (m *DeferStmt) GetDefer() int32

func (*DeferStmt) ProtoMessage

func (*DeferStmt) ProtoMessage()

func (*DeferStmt) Reset

func (m *DeferStmt) Reset()

func (*DeferStmt) String

func (m *DeferStmt) String() string

func (*DeferStmt) XXX_DiscardUnknown

func (m *DeferStmt) XXX_DiscardUnknown()

func (*DeferStmt) XXX_Marshal

func (m *DeferStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeferStmt) XXX_Merge

func (dst *DeferStmt) XXX_Merge(src proto.Message)

func (*DeferStmt) XXX_Size

func (m *DeferStmt) XXX_Size() int

func (*DeferStmt) XXX_Unmarshal

func (m *DeferStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Ellipsis) GetEllipsis

func (m *Ellipsis) GetEllipsis() int32

func (*Ellipsis) GetElt

func (m *Ellipsis) GetElt() *Expr

func (*Ellipsis) GetTypeRef

func (m *Ellipsis) GetTypeRef() *TypeRef

func (*Ellipsis) ProtoMessage

func (*Ellipsis) ProtoMessage()

func (*Ellipsis) Reset

func (m *Ellipsis) Reset()

func (*Ellipsis) String

func (m *Ellipsis) String() string

func (*Ellipsis) XXX_DiscardUnknown

func (m *Ellipsis) XXX_DiscardUnknown()

func (*Ellipsis) XXX_Marshal

func (m *Ellipsis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ellipsis) XXX_Merge

func (dst *Ellipsis) XXX_Merge(src proto.Message)

func (*Ellipsis) XXX_Size

func (m *Ellipsis) XXX_Size() int

func (*Ellipsis) XXX_Unmarshal

func (m *Ellipsis) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*EmptyStmt) GetImplicit

func (m *EmptyStmt) GetImplicit() bool

func (*EmptyStmt) GetSemicolon

func (m *EmptyStmt) GetSemicolon() int32

func (*EmptyStmt) ProtoMessage

func (*EmptyStmt) ProtoMessage()

func (*EmptyStmt) Reset

func (m *EmptyStmt) Reset()

func (*EmptyStmt) String

func (m *EmptyStmt) String() string

func (*EmptyStmt) XXX_DiscardUnknown

func (m *EmptyStmt) XXX_DiscardUnknown()

func (*EmptyStmt) XXX_Marshal

func (m *EmptyStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmptyStmt) XXX_Merge

func (dst *EmptyStmt) XXX_Merge(src proto.Message)

func (*EmptyStmt) XXX_Size

func (m *EmptyStmt) XXX_Size() int

func (*EmptyStmt) XXX_Unmarshal

func (m *EmptyStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Expr) GetArrayType

func (m *Expr) GetArrayType() *ArrayType

func (*Expr) GetBadExpr

func (m *Expr) GetBadExpr() *BadExpr

func (*Expr) GetBasicLit

func (m *Expr) GetBasicLit() *BasicLit

func (*Expr) GetBinaryExpr

func (m *Expr) GetBinaryExpr() *BinaryExpr

func (*Expr) GetCallExpr

func (m *Expr) GetCallExpr() *CallExpr

func (*Expr) GetChanType

func (m *Expr) GetChanType() *ChanType

func (*Expr) GetCompositeLit

func (m *Expr) GetCompositeLit() *CompositeLit

func (*Expr) GetEllipsis

func (m *Expr) GetEllipsis() *Ellipsis

func (*Expr) GetExpr

func (m *Expr) GetExpr() isExpr_Expr

func (*Expr) GetFuncLit

func (m *Expr) GetFuncLit() *FuncLit

func (*Expr) GetFuncType

func (m *Expr) GetFuncType() *FuncType

func (*Expr) GetIdent

func (m *Expr) GetIdent() *Ident

func (*Expr) GetIndexExpr

func (m *Expr) GetIndexExpr() *IndexExpr

func (*Expr) GetInterfaceType

func (m *Expr) GetInterfaceType() *InterfaceType

func (*Expr) GetKeyValueExpr

func (m *Expr) GetKeyValueExpr() *KeyValueExpr

func (*Expr) GetMapType

func (m *Expr) GetMapType() *MapType

func (*Expr) GetParenExpr

func (m *Expr) GetParenExpr() *ParenExpr

func (*Expr) GetSelectorExpr

func (m *Expr) GetSelectorExpr() *SelectorExpr

func (*Expr) GetSliceExpr

func (m *Expr) GetSliceExpr() *SliceExpr

func (*Expr) GetStarExpr

func (m *Expr) GetStarExpr() *StarExpr

func (*Expr) GetStructType

func (m *Expr) GetStructType() *StructType

func (*Expr) GetTypeAssertExpr

func (m *Expr) GetTypeAssertExpr() *TypeAssertExpr

func (*Expr) GetUnaryExpr

func (m *Expr) GetUnaryExpr() *UnaryExpr

func (*Expr) ProtoMessage

func (*Expr) ProtoMessage()

func (*Expr) Reset

func (m *Expr) Reset()

func (*Expr) String

func (m *Expr) String() string

func (*Expr) XXX_DiscardUnknown

func (m *Expr) XXX_DiscardUnknown()

func (*Expr) XXX_Marshal

func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Expr) XXX_Merge

func (dst *Expr) XXX_Merge(src proto.Message)

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_Size

func (m *Expr) XXX_Size() int

func (*Expr) XXX_Unmarshal

func (m *Expr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ExprStmt) GetX

func (m *ExprStmt) GetX() *Expr

func (*ExprStmt) ProtoMessage

func (*ExprStmt) ProtoMessage()

func (*ExprStmt) Reset

func (m *ExprStmt) Reset()

func (*ExprStmt) String

func (m *ExprStmt) String() string

func (*ExprStmt) XXX_DiscardUnknown

func (m *ExprStmt) XXX_DiscardUnknown()

func (*ExprStmt) XXX_Marshal

func (m *ExprStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExprStmt) XXX_Merge

func (dst *ExprStmt) XXX_Merge(src proto.Message)

func (*ExprStmt) XXX_Size

func (m *ExprStmt) XXX_Size() int

func (*ExprStmt) XXX_Unmarshal

func (m *ExprStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Field) GetComment

func (m *Field) GetComment() *CommentGroup

func (*Field) GetDoc

func (m *Field) GetDoc() *CommentGroup

func (*Field) GetNames

func (m *Field) GetNames() []*Ident

func (*Field) GetTag

func (m *Field) GetTag() *BasicLit

func (*Field) GetType

func (m *Field) GetType() *Expr

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *Field) String() string

func (*Field) XXX_DiscardUnknown

func (m *Field) XXX_DiscardUnknown()

func (*Field) XXX_Marshal

func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Field) XXX_Merge

func (dst *Field) XXX_Merge(src proto.Message)

func (*Field) XXX_Size

func (m *Field) XXX_Size() int

func (*Field) XXX_Unmarshal

func (m *Field) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*FieldList) GetClosing

func (m *FieldList) GetClosing() int32

func (*FieldList) GetList

func (m *FieldList) GetList() []*Field

func (*FieldList) GetOpening

func (m *FieldList) GetOpening() int32

func (*FieldList) ProtoMessage

func (*FieldList) ProtoMessage()

func (*FieldList) Reset

func (m *FieldList) Reset()

func (*FieldList) String

func (m *FieldList) String() string

func (*FieldList) XXX_DiscardUnknown

func (m *FieldList) XXX_DiscardUnknown()

func (*FieldList) XXX_Marshal

func (m *FieldList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldList) XXX_Merge

func (dst *FieldList) XXX_Merge(src proto.Message)

func (*FieldList) XXX_Size

func (m *FieldList) XXX_Size() int

func (*FieldList) XXX_Unmarshal

func (m *FieldList) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*File) GetComments

func (m *File) GetComments() []*CommentGroup

func (*File) GetDecls

func (m *File) GetDecls() []*Decl

func (*File) GetDoc

func (m *File) GetDoc() *CommentGroup

func (*File) GetFileName

func (m *File) GetFileName() string

func (*File) GetImports

func (m *File) GetImports() []*ImportSpec

func (*File) GetName

func (m *File) GetName() *Ident

func (*File) GetPackage

func (m *File) GetPackage() int32

func (*File) GetUnresolved

func (m *File) GetUnresolved() []*Ident

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

func (*File) XXX_DiscardUnknown

func (m *File) XXX_DiscardUnknown()

func (*File) XXX_Marshal

func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*File) XXX_Merge

func (dst *File) XXX_Merge(src proto.Message)

func (*File) XXX_Size

func (m *File) XXX_Size() int

func (*File) XXX_Unmarshal

func (m *File) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ForStmt) GetBody

func (m *ForStmt) GetBody() *BlockStmt

func (*ForStmt) GetCond

func (m *ForStmt) GetCond() *Expr

func (*ForStmt) GetFor

func (m *ForStmt) GetFor() int32

func (*ForStmt) GetInit

func (m *ForStmt) GetInit() *Stmt

func (*ForStmt) GetPost

func (m *ForStmt) GetPost() *Stmt

func (*ForStmt) ProtoMessage

func (*ForStmt) ProtoMessage()

func (*ForStmt) Reset

func (m *ForStmt) Reset()

func (*ForStmt) String

func (m *ForStmt) String() string

func (*ForStmt) XXX_DiscardUnknown

func (m *ForStmt) XXX_DiscardUnknown()

func (*ForStmt) XXX_Marshal

func (m *ForStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForStmt) XXX_Merge

func (dst *ForStmt) XXX_Merge(src proto.Message)

func (*ForStmt) XXX_Size

func (m *ForStmt) XXX_Size() int

func (*ForStmt) XXX_Unmarshal

func (m *ForStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*FuncDecl) GetBody

func (m *FuncDecl) GetBody() *BlockStmt

func (*FuncDecl) GetDoc

func (m *FuncDecl) GetDoc() *CommentGroup

func (*FuncDecl) GetName

func (m *FuncDecl) GetName() *Ident

func (*FuncDecl) GetRecv

func (m *FuncDecl) GetRecv() *FieldList

func (*FuncDecl) GetType

func (m *FuncDecl) GetType() *FuncType

func (*FuncDecl) ProtoMessage

func (*FuncDecl) ProtoMessage()

func (*FuncDecl) Reset

func (m *FuncDecl) Reset()

func (*FuncDecl) String

func (m *FuncDecl) String() string

func (*FuncDecl) XXX_DiscardUnknown

func (m *FuncDecl) XXX_DiscardUnknown()

func (*FuncDecl) XXX_Marshal

func (m *FuncDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FuncDecl) XXX_Merge

func (dst *FuncDecl) XXX_Merge(src proto.Message)

func (*FuncDecl) XXX_Size

func (m *FuncDecl) XXX_Size() int

func (*FuncDecl) XXX_Unmarshal

func (m *FuncDecl) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*FuncLit) GetBody

func (m *FuncLit) GetBody() *BlockStmt

func (*FuncLit) GetType

func (m *FuncLit) GetType() *FuncType

func (*FuncLit) GetTypeRef

func (m *FuncLit) GetTypeRef() *TypeRef

func (*FuncLit) ProtoMessage

func (*FuncLit) ProtoMessage()

func (*FuncLit) Reset

func (m *FuncLit) Reset()

func (*FuncLit) String

func (m *FuncLit) String() string

func (*FuncLit) XXX_DiscardUnknown

func (m *FuncLit) XXX_DiscardUnknown()

func (*FuncLit) XXX_Marshal

func (m *FuncLit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FuncLit) XXX_Merge

func (dst *FuncLit) XXX_Merge(src proto.Message)

func (*FuncLit) XXX_Size

func (m *FuncLit) XXX_Size() int

func (*FuncLit) XXX_Unmarshal

func (m *FuncLit) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*FuncType) GetFunc

func (m *FuncType) GetFunc() int32

func (*FuncType) GetParams

func (m *FuncType) GetParams() *FieldList

func (*FuncType) GetResults

func (m *FuncType) GetResults() *FieldList

func (*FuncType) GetTypeRef

func (m *FuncType) GetTypeRef() *TypeRef

func (*FuncType) ProtoMessage

func (*FuncType) ProtoMessage()

func (*FuncType) Reset

func (m *FuncType) Reset()

func (*FuncType) String

func (m *FuncType) String() string

func (*FuncType) XXX_DiscardUnknown

func (m *FuncType) XXX_DiscardUnknown()

func (*FuncType) XXX_Marshal

func (m *FuncType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FuncType) XXX_Merge

func (dst *FuncType) XXX_Merge(src proto.Message)

func (*FuncType) XXX_Size

func (m *FuncType) XXX_Size() int

func (*FuncType) XXX_Unmarshal

func (m *FuncType) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*GenDecl) GetDoc

func (m *GenDecl) GetDoc() *CommentGroup

func (*GenDecl) GetLparen

func (m *GenDecl) GetLparen() int32

func (*GenDecl) GetRparen

func (m *GenDecl) GetRparen() int32

func (*GenDecl) GetSpecs

func (m *GenDecl) GetSpecs() []*Spec

func (*GenDecl) GetTok

func (m *GenDecl) GetTok() Token

func (*GenDecl) GetTokPos

func (m *GenDecl) GetTokPos() int32

func (*GenDecl) ProtoMessage

func (*GenDecl) ProtoMessage()

func (*GenDecl) Reset

func (m *GenDecl) Reset()

func (*GenDecl) String

func (m *GenDecl) String() string

func (*GenDecl) XXX_DiscardUnknown

func (m *GenDecl) XXX_DiscardUnknown()

func (*GenDecl) XXX_Marshal

func (m *GenDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenDecl) XXX_Merge

func (dst *GenDecl) XXX_Merge(src proto.Message)

func (*GenDecl) XXX_Size

func (m *GenDecl) XXX_Size() int

func (*GenDecl) XXX_Unmarshal

func (m *GenDecl) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*GoStmt) GetCall

func (m *GoStmt) GetCall() *CallExpr

func (*GoStmt) GetGo

func (m *GoStmt) GetGo() int32

func (*GoStmt) ProtoMessage

func (*GoStmt) ProtoMessage()

func (*GoStmt) Reset

func (m *GoStmt) Reset()

func (*GoStmt) String

func (m *GoStmt) String() string

func (*GoStmt) XXX_DiscardUnknown

func (m *GoStmt) XXX_DiscardUnknown()

func (*GoStmt) XXX_Marshal

func (m *GoStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoStmt) XXX_Merge

func (dst *GoStmt) XXX_Merge(src proto.Message)

func (*GoStmt) XXX_Size

func (m *GoStmt) XXX_Size() int

func (*GoStmt) XXX_Unmarshal

func (m *GoStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Ident) GetDefTypeRef

func (m *Ident) GetDefTypeRef() *TypeRef

func (*Ident) GetName

func (m *Ident) GetName() string

func (*Ident) GetNamePos

func (m *Ident) GetNamePos() int32

func (*Ident) GetTypeRef

func (m *Ident) GetTypeRef() *TypeRef

func (*Ident) ProtoMessage

func (*Ident) ProtoMessage()

func (*Ident) Reset

func (m *Ident) Reset()

func (*Ident) String

func (m *Ident) String() string

func (*Ident) XXX_DiscardUnknown

func (m *Ident) XXX_DiscardUnknown()

func (*Ident) XXX_Marshal

func (m *Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ident) XXX_Merge

func (dst *Ident) XXX_Merge(src proto.Message)

func (*Ident) XXX_Size

func (m *Ident) XXX_Size() int

func (*Ident) XXX_Unmarshal

func (m *Ident) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*IfStmt) GetBody

func (m *IfStmt) GetBody() *BlockStmt

func (*IfStmt) GetCond

func (m *IfStmt) GetCond() *Expr

func (*IfStmt) GetElse

func (m *IfStmt) GetElse() *Stmt

func (*IfStmt) GetIf

func (m *IfStmt) GetIf() int32

func (*IfStmt) GetInit

func (m *IfStmt) GetInit() *Stmt

func (*IfStmt) ProtoMessage

func (*IfStmt) ProtoMessage()

func (*IfStmt) Reset

func (m *IfStmt) Reset()

func (*IfStmt) String

func (m *IfStmt) String() string

func (*IfStmt) XXX_DiscardUnknown

func (m *IfStmt) XXX_DiscardUnknown()

func (*IfStmt) XXX_Marshal

func (m *IfStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IfStmt) XXX_Merge

func (dst *IfStmt) XXX_Merge(src proto.Message)

func (*IfStmt) XXX_Size

func (m *IfStmt) XXX_Size() int

func (*IfStmt) XXX_Unmarshal

func (m *IfStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*IndexExpr) GetIndex

func (m *IndexExpr) GetIndex() *Expr

func (*IndexExpr) GetLbrack

func (m *IndexExpr) GetLbrack() int32

func (*IndexExpr) GetRbrack

func (m *IndexExpr) GetRbrack() int32

func (*IndexExpr) GetTypeRef

func (m *IndexExpr) GetTypeRef() *TypeRef

func (*IndexExpr) GetX

func (m *IndexExpr) GetX() *Expr

func (*IndexExpr) ProtoMessage

func (*IndexExpr) ProtoMessage()

func (*IndexExpr) Reset

func (m *IndexExpr) Reset()

func (*IndexExpr) String

func (m *IndexExpr) String() string

func (*IndexExpr) XXX_DiscardUnknown

func (m *IndexExpr) XXX_DiscardUnknown()

func (*IndexExpr) XXX_Marshal

func (m *IndexExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexExpr) XXX_Merge

func (dst *IndexExpr) XXX_Merge(src proto.Message)

func (*IndexExpr) XXX_Size

func (m *IndexExpr) XXX_Size() int

func (*IndexExpr) XXX_Unmarshal

func (m *IndexExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*MapType) GetKey

func (m *MapType) GetKey() *Expr

func (*MapType) GetMap

func (m *MapType) GetMap() int32

func (*MapType) GetTypeRef

func (m *MapType) GetTypeRef() *TypeRef

func (*MapType) GetValue

func (m *MapType) GetValue() *Expr

func (*MapType) ProtoMessage

func (*MapType) ProtoMessage()

func (*MapType) Reset

func (m *MapType) Reset()

func (*MapType) String

func (m *MapType) String() string

func (*MapType) XXX_DiscardUnknown

func (m *MapType) XXX_DiscardUnknown()

func (*MapType) XXX_Marshal

func (m *MapType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapType) XXX_Merge

func (dst *MapType) XXX_Merge(src proto.Message)

func (*MapType) XXX_Size

func (m *MapType) XXX_Size() int

func (*MapType) XXX_Unmarshal

func (m *MapType) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Package) GetFiles

func (m *Package) GetFiles() []*File

func (*Package) GetName

func (m *Package) GetName() string

func (*Package) GetPath

func (m *Package) GetPath() string

func (*Package) GetTypes

func (m *Package) GetTypes() []*Type

func (*Package) GetVarInitOrder

func (m *Package) GetVarInitOrder() []string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) Reset

func (m *Package) Reset()

func (*Package) String

func (m *Package) String() string

func (*Package) XXX_DiscardUnknown

func (m *Package) XXX_DiscardUnknown()

func (*Package) XXX_Marshal

func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Package) XXX_Merge

func (dst *Package) XXX_Merge(src proto.Message)

func (*Package) XXX_Size

func (m *Package) XXX_Size() int

func (*Package) XXX_Unmarshal

func (m *Package) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Packages) GetPackages

func (m *Packages) GetPackages() []*Package

func (*Packages) ProtoMessage

func (*Packages) ProtoMessage()

func (*Packages) Reset

func (m *Packages) Reset()

func (*Packages) String

func (m *Packages) String() string

func (*Packages) XXX_DiscardUnknown

func (m *Packages) XXX_DiscardUnknown()

func (*Packages) XXX_Marshal

func (m *Packages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Packages) XXX_Merge

func (dst *Packages) XXX_Merge(src proto.Message)

func (*Packages) XXX_Size

func (m *Packages) XXX_Size() int

func (*Packages) XXX_Unmarshal

func (m *Packages) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ParenExpr) GetLparen

func (m *ParenExpr) GetLparen() int32

func (*ParenExpr) GetRparen

func (m *ParenExpr) GetRparen() int32

func (*ParenExpr) GetTypeRef

func (m *ParenExpr) GetTypeRef() *TypeRef

func (*ParenExpr) GetX

func (m *ParenExpr) GetX() *Expr

func (*ParenExpr) ProtoMessage

func (*ParenExpr) ProtoMessage()

func (*ParenExpr) Reset

func (m *ParenExpr) Reset()

func (*ParenExpr) String

func (m *ParenExpr) String() string

func (*ParenExpr) XXX_DiscardUnknown

func (m *ParenExpr) XXX_DiscardUnknown()

func (*ParenExpr) XXX_Marshal

func (m *ParenExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParenExpr) XXX_Merge

func (dst *ParenExpr) XXX_Merge(src proto.Message)

func (*ParenExpr) XXX_Size

func (m *ParenExpr) XXX_Size() int

func (*ParenExpr) XXX_Unmarshal

func (m *ParenExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RangeStmt) GetBody

func (m *RangeStmt) GetBody() *BlockStmt

func (*RangeStmt) GetFor

func (m *RangeStmt) GetFor() int32

func (*RangeStmt) GetKey

func (m *RangeStmt) GetKey() *Expr

func (*RangeStmt) GetTok

func (m *RangeStmt) GetTok() Token

func (*RangeStmt) GetTokPos

func (m *RangeStmt) GetTokPos() int32

func (*RangeStmt) GetValue

func (m *RangeStmt) GetValue() *Expr

func (*RangeStmt) GetX

func (m *RangeStmt) GetX() *Expr

func (*RangeStmt) ProtoMessage

func (*RangeStmt) ProtoMessage()

func (*RangeStmt) Reset

func (m *RangeStmt) Reset()

func (*RangeStmt) String

func (m *RangeStmt) String() string

func (*RangeStmt) XXX_DiscardUnknown

func (m *RangeStmt) XXX_DiscardUnknown()

func (*RangeStmt) XXX_Marshal

func (m *RangeStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeStmt) XXX_Merge

func (dst *RangeStmt) XXX_Merge(src proto.Message)

func (*RangeStmt) XXX_Size

func (m *RangeStmt) XXX_Size() int

func (*RangeStmt) XXX_Unmarshal

func (m *RangeStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*SendStmt) GetArrow

func (m *SendStmt) GetArrow() int32

func (*SendStmt) GetChan

func (m *SendStmt) GetChan() *Expr

func (*SendStmt) GetValue

func (m *SendStmt) GetValue() *Expr

func (*SendStmt) ProtoMessage

func (*SendStmt) ProtoMessage()

func (*SendStmt) Reset

func (m *SendStmt) Reset()

func (*SendStmt) String

func (m *SendStmt) String() string

func (*SendStmt) XXX_DiscardUnknown

func (m *SendStmt) XXX_DiscardUnknown()

func (*SendStmt) XXX_Marshal

func (m *SendStmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendStmt) XXX_Merge

func (dst *SendStmt) XXX_Merge(src proto.Message)

func (*SendStmt) XXX_Size

func (m *SendStmt) XXX_Size() int

func (*SendStmt) XXX_Unmarshal

func (m *SendStmt) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*SliceExpr) GetHigh

func (m *SliceExpr) GetHigh() *Expr

func (*SliceExpr) GetLbrack

func (m *SliceExpr) GetLbrack() int32

func (*SliceExpr) GetLow

func (m *SliceExpr) GetLow() *Expr

func (*SliceExpr) GetMax

func (m *SliceExpr) GetMax() *Expr

func (*SliceExpr) GetRbrack

func (m *SliceExpr) GetRbrack() int32

func (*SliceExpr) GetSlice3

func (m *SliceExpr) GetSlice3() bool

func (*SliceExpr) GetTypeRef

func (m *SliceExpr) GetTypeRef() *TypeRef

func (*SliceExpr) GetX

func (m *SliceExpr) GetX() *Expr

func (*SliceExpr) ProtoMessage

func (*SliceExpr) ProtoMessage()

func (*SliceExpr) Reset

func (m *SliceExpr) Reset()

func (*SliceExpr) String

func (m *SliceExpr) String() string

func (*SliceExpr) XXX_DiscardUnknown

func (m *SliceExpr) XXX_DiscardUnknown()

func (*SliceExpr) XXX_Marshal

func (m *SliceExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SliceExpr) XXX_Merge

func (dst *SliceExpr) XXX_Merge(src proto.Message)

func (*SliceExpr) XXX_Size

func (m *SliceExpr) XXX_Size() int

func (*SliceExpr) XXX_Unmarshal

func (m *SliceExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Spec) GetImportSpec

func (m *Spec) GetImportSpec() *ImportSpec

func (*Spec) GetSpec

func (m *Spec) GetSpec() isSpec_Spec

func (*Spec) GetTypeSpec

func (m *Spec) GetTypeSpec() *TypeSpec

func (*Spec) GetValueSpec

func (m *Spec) GetValueSpec() *ValueSpec

func (*Spec) ProtoMessage

func (*Spec) ProtoMessage()

func (*Spec) Reset

func (m *Spec) Reset()

func (*Spec) String

func (m *Spec) String() string

func (*Spec) XXX_DiscardUnknown

func (m *Spec) XXX_DiscardUnknown()

func (*Spec) XXX_Marshal

func (m *Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Spec) XXX_Merge

func (dst *Spec) XXX_Merge(src proto.Message)

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_Size

func (m *Spec) XXX_Size() int

func (*Spec) XXX_Unmarshal

func (m *Spec) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*StarExpr) GetStar

func (m *StarExpr) GetStar() int32

func (*StarExpr) GetTypeRef

func (m *StarExpr) GetTypeRef() *TypeRef

func (*StarExpr) GetX

func (m *StarExpr) GetX() *Expr

func (*StarExpr) ProtoMessage

func (*StarExpr) ProtoMessage()

func (*StarExpr) Reset

func (m *StarExpr) Reset()

func (*StarExpr) String

func (m *StarExpr) String() string

func (*StarExpr) XXX_DiscardUnknown

func (m *StarExpr) XXX_DiscardUnknown()

func (*StarExpr) XXX_Marshal

func (m *StarExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StarExpr) XXX_Merge

func (dst *StarExpr) XXX_Merge(src proto.Message)

func (*StarExpr) XXX_Size

func (m *StarExpr) XXX_Size() int

func (*StarExpr) XXX_Unmarshal

func (m *StarExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Stmt) GetAssignStmt

func (m *Stmt) GetAssignStmt() *AssignStmt

func (*Stmt) GetBadStmt

func (m *Stmt) GetBadStmt() *BadStmt

func (*Stmt) GetBlockStmt

func (m *Stmt) GetBlockStmt() *BlockStmt

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 (m *Stmt) GetDeclStmt() *DeclStmt

func (*Stmt) GetDeferStmt

func (m *Stmt) GetDeferStmt() *DeferStmt

func (*Stmt) GetEmptyStmt

func (m *Stmt) GetEmptyStmt() *EmptyStmt

func (*Stmt) GetExprStmt

func (m *Stmt) GetExprStmt() *ExprStmt

func (*Stmt) GetForStmt

func (m *Stmt) GetForStmt() *ForStmt

func (*Stmt) GetGoStmt

func (m *Stmt) GetGoStmt() *GoStmt

func (*Stmt) GetIfStmt

func (m *Stmt) GetIfStmt() *IfStmt

func (*Stmt) GetIncDecStmt

func (m *Stmt) GetIncDecStmt() *IncDecStmt

func (*Stmt) GetLabeledStmt

func (m *Stmt) GetLabeledStmt() *LabeledStmt

func (*Stmt) GetRangeStmt

func (m *Stmt) GetRangeStmt() *RangeStmt

func (*Stmt) GetReturnStmt

func (m *Stmt) GetReturnStmt() *ReturnStmt

func (*Stmt) GetSelectStmt

func (m *Stmt) GetSelectStmt() *SelectStmt

func (*Stmt) GetSendStmt

func (m *Stmt) GetSendStmt() *SendStmt

func (*Stmt) GetStmt

func (m *Stmt) GetStmt() isStmt_Stmt

func (*Stmt) GetSwitchStmt

func (m *Stmt) GetSwitchStmt() *SwitchStmt

func (*Stmt) GetTypeSwitchStmt

func (m *Stmt) GetTypeSwitchStmt() *TypeSwitchStmt

func (*Stmt) ProtoMessage

func (*Stmt) ProtoMessage()

func (*Stmt) Reset

func (m *Stmt) Reset()

func (*Stmt) String

func (m *Stmt) String() string

func (*Stmt) XXX_DiscardUnknown

func (m *Stmt) XXX_DiscardUnknown()

func (*Stmt) XXX_Marshal

func (m *Stmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stmt) XXX_Merge

func (dst *Stmt) XXX_Merge(src proto.Message)

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_Size

func (m *Stmt) XXX_Size() int

func (*Stmt) XXX_Unmarshal

func (m *Stmt) XXX_Unmarshal(b []byte) error

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

func (Token) EnumDescriptor() ([]byte, []int)

func (Token) String

func (x Token) String() string

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) Descriptor() ([]byte, []int)

func (*Type) GetName

func (m *Type) GetName() string

func (*Type) GetPackage

func (m *Type) GetPackage() string

func (*Type) GetType

func (m *Type) GetType() isType_Type

func (*Type) GetTypeArray

func (m *Type) GetTypeArray() *TypeArray

func (*Type) GetTypeBasic

func (m *Type) GetTypeBasic() *TypeBasic

func (*Type) GetTypeBuiltin

func (m *Type) GetTypeBuiltin() bool

func (*Type) GetTypeChan

func (m *Type) GetTypeChan() *TypeChan

func (*Type) GetTypeConst

func (m *Type) GetTypeConst() *TypeConst

func (*Type) GetTypeFunc

func (m *Type) GetTypeFunc() *TypeSignature

func (*Type) GetTypeInterface

func (m *Type) GetTypeInterface() *TypeInterface

func (*Type) GetTypeLabel

func (m *Type) GetTypeLabel() *TypeRef

func (*Type) GetTypeMap

func (m *Type) GetTypeMap() *TypeMap

func (*Type) GetTypeName

func (m *Type) GetTypeName() *TypeRef

func (*Type) GetTypeNamed

func (m *Type) GetTypeNamed() *TypeNamed

func (*Type) GetTypeNil

func (m *Type) GetTypeNil() *TypeRef

func (*Type) GetTypePackage

func (m *Type) GetTypePackage() bool

func (*Type) GetTypePointer

func (m *Type) GetTypePointer() *TypePointer

func (*Type) GetTypeSignature

func (m *Type) GetTypeSignature() *TypeSignature

func (*Type) GetTypeSlice

func (m *Type) GetTypeSlice() *TypeSlice

func (*Type) GetTypeStruct

func (m *Type) GetTypeStruct() *TypeStruct

func (*Type) GetTypeTuple

func (m *Type) GetTypeTuple() *TypeTuple

func (*Type) GetTypeVar

func (m *Type) GetTypeVar() *TypeVar

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) Reset

func (m *Type) Reset()

func (*Type) String

func (m *Type) String() string

func (*Type) XXX_DiscardUnknown

func (m *Type) XXX_DiscardUnknown()

func (*Type) XXX_Marshal

func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Type) XXX_Merge

func (dst *Type) XXX_Merge(src proto.Message)

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_Size

func (m *Type) XXX_Size() int

func (*Type) XXX_Unmarshal

func (m *Type) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeArray) GetElem

func (m *TypeArray) GetElem() *TypeRef

func (*TypeArray) GetLen

func (m *TypeArray) GetLen() int64

func (*TypeArray) ProtoMessage

func (*TypeArray) ProtoMessage()

func (*TypeArray) Reset

func (m *TypeArray) Reset()

func (*TypeArray) String

func (m *TypeArray) String() string

func (*TypeArray) XXX_DiscardUnknown

func (m *TypeArray) XXX_DiscardUnknown()

func (*TypeArray) XXX_Marshal

func (m *TypeArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeArray) XXX_Merge

func (dst *TypeArray) XXX_Merge(src proto.Message)

func (*TypeArray) XXX_Size

func (m *TypeArray) XXX_Size() int

func (*TypeArray) XXX_Unmarshal

func (m *TypeArray) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeBasic) GetFlags

func (m *TypeBasic) GetFlags() int32

func (*TypeBasic) GetKind

func (m *TypeBasic) GetKind() TypeBasic_Kind

func (*TypeBasic) ProtoMessage

func (*TypeBasic) ProtoMessage()

func (*TypeBasic) Reset

func (m *TypeBasic) Reset()

func (*TypeBasic) String

func (m *TypeBasic) String() string

func (*TypeBasic) XXX_DiscardUnknown

func (m *TypeBasic) XXX_DiscardUnknown()

func (*TypeBasic) XXX_Marshal

func (m *TypeBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeBasic) XXX_Merge

func (dst *TypeBasic) XXX_Merge(src proto.Message)

func (*TypeBasic) XXX_Size

func (m *TypeBasic) XXX_Size() int

func (*TypeBasic) XXX_Unmarshal

func (m *TypeBasic) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeChan) GetElem

func (m *TypeChan) GetElem() *TypeRef

func (*TypeChan) GetRecvDir

func (m *TypeChan) GetRecvDir() bool

func (*TypeChan) GetSendDir

func (m *TypeChan) GetSendDir() bool

func (*TypeChan) ProtoMessage

func (*TypeChan) ProtoMessage()

func (*TypeChan) Reset

func (m *TypeChan) Reset()

func (*TypeChan) String

func (m *TypeChan) String() string

func (*TypeChan) XXX_DiscardUnknown

func (m *TypeChan) XXX_DiscardUnknown()

func (*TypeChan) XXX_Marshal

func (m *TypeChan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeChan) XXX_Merge

func (dst *TypeChan) XXX_Merge(src proto.Message)

func (*TypeChan) XXX_Size

func (m *TypeChan) XXX_Size() int

func (*TypeChan) XXX_Unmarshal

func (m *TypeChan) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeConst) GetType

func (m *TypeConst) GetType() *TypeRef

func (*TypeConst) GetValue

func (m *TypeConst) GetValue() *ConstantValue

func (*TypeConst) ProtoMessage

func (*TypeConst) ProtoMessage()

func (*TypeConst) Reset

func (m *TypeConst) Reset()

func (*TypeConst) String

func (m *TypeConst) String() string

func (*TypeConst) XXX_DiscardUnknown

func (m *TypeConst) XXX_DiscardUnknown()

func (*TypeConst) XXX_Marshal

func (m *TypeConst) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeConst) XXX_Merge

func (dst *TypeConst) XXX_Merge(src proto.Message)

func (*TypeConst) XXX_Size

func (m *TypeConst) XXX_Size() int

func (*TypeConst) XXX_Unmarshal

func (m *TypeConst) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeMap) GetElem

func (m *TypeMap) GetElem() *TypeRef

func (*TypeMap) GetKey

func (m *TypeMap) GetKey() *TypeRef

func (*TypeMap) ProtoMessage

func (*TypeMap) ProtoMessage()

func (*TypeMap) Reset

func (m *TypeMap) Reset()

func (*TypeMap) String

func (m *TypeMap) String() string

func (*TypeMap) XXX_DiscardUnknown

func (m *TypeMap) XXX_DiscardUnknown()

func (*TypeMap) XXX_Marshal

func (m *TypeMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeMap) XXX_Merge

func (dst *TypeMap) XXX_Merge(src proto.Message)

func (*TypeMap) XXX_Size

func (m *TypeMap) XXX_Size() int

func (*TypeMap) XXX_Unmarshal

func (m *TypeMap) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeNamed) GetMethods

func (m *TypeNamed) GetMethods() []*TypeRef

func (*TypeNamed) GetType

func (m *TypeNamed) GetType() *TypeRef

func (*TypeNamed) GetTypeName

func (m *TypeNamed) GetTypeName() *TypeRef

func (*TypeNamed) ProtoMessage

func (*TypeNamed) ProtoMessage()

func (*TypeNamed) Reset

func (m *TypeNamed) Reset()

func (*TypeNamed) String

func (m *TypeNamed) String() string

func (*TypeNamed) XXX_DiscardUnknown

func (m *TypeNamed) XXX_DiscardUnknown()

func (*TypeNamed) XXX_Marshal

func (m *TypeNamed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeNamed) XXX_Merge

func (dst *TypeNamed) XXX_Merge(src proto.Message)

func (*TypeNamed) XXX_Size

func (m *TypeNamed) XXX_Size() int

func (*TypeNamed) XXX_Unmarshal

func (m *TypeNamed) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeRef) GetId

func (m *TypeRef) GetId() uint32

func (*TypeRef) ProtoMessage

func (*TypeRef) ProtoMessage()

func (*TypeRef) Reset

func (m *TypeRef) Reset()

func (*TypeRef) String

func (m *TypeRef) String() string

func (*TypeRef) XXX_DiscardUnknown

func (m *TypeRef) XXX_DiscardUnknown()

func (*TypeRef) XXX_Marshal

func (m *TypeRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeRef) XXX_Merge

func (dst *TypeRef) XXX_Merge(src proto.Message)

func (*TypeRef) XXX_Size

func (m *TypeRef) XXX_Size() int

func (*TypeRef) XXX_Unmarshal

func (m *TypeRef) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeSlice) GetElem

func (m *TypeSlice) GetElem() *TypeRef

func (*TypeSlice) ProtoMessage

func (*TypeSlice) ProtoMessage()

func (*TypeSlice) Reset

func (m *TypeSlice) Reset()

func (*TypeSlice) String

func (m *TypeSlice) String() string

func (*TypeSlice) XXX_DiscardUnknown

func (m *TypeSlice) XXX_DiscardUnknown()

func (*TypeSlice) XXX_Marshal

func (m *TypeSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeSlice) XXX_Merge

func (dst *TypeSlice) XXX_Merge(src proto.Message)

func (*TypeSlice) XXX_Size

func (m *TypeSlice) XXX_Size() int

func (*TypeSlice) XXX_Unmarshal

func (m *TypeSlice) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeSpec) GetAssign

func (m *TypeSpec) GetAssign() int32

func (*TypeSpec) GetComment

func (m *TypeSpec) GetComment() *CommentGroup

func (*TypeSpec) GetDoc

func (m *TypeSpec) GetDoc() *CommentGroup

func (*TypeSpec) GetName

func (m *TypeSpec) GetName() *Ident

func (*TypeSpec) GetType

func (m *TypeSpec) GetType() *Expr

func (*TypeSpec) ProtoMessage

func (*TypeSpec) ProtoMessage()

func (*TypeSpec) Reset

func (m *TypeSpec) Reset()

func (*TypeSpec) String

func (m *TypeSpec) String() string

func (*TypeSpec) XXX_DiscardUnknown

func (m *TypeSpec) XXX_DiscardUnknown()

func (*TypeSpec) XXX_Marshal

func (m *TypeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeSpec) XXX_Merge

func (dst *TypeSpec) XXX_Merge(src proto.Message)

func (*TypeSpec) XXX_Size

func (m *TypeSpec) XXX_Size() int

func (*TypeSpec) XXX_Unmarshal

func (m *TypeSpec) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeTuple) GetVars

func (m *TypeTuple) GetVars() []*TypeRef

func (*TypeTuple) ProtoMessage

func (*TypeTuple) ProtoMessage()

func (*TypeTuple) Reset

func (m *TypeTuple) Reset()

func (*TypeTuple) String

func (m *TypeTuple) String() string

func (*TypeTuple) XXX_DiscardUnknown

func (m *TypeTuple) XXX_DiscardUnknown()

func (*TypeTuple) XXX_Marshal

func (m *TypeTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeTuple) XXX_Merge

func (dst *TypeTuple) XXX_Merge(src proto.Message)

func (*TypeTuple) XXX_Size

func (m *TypeTuple) XXX_Size() int

func (*TypeTuple) XXX_Unmarshal

func (m *TypeTuple) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TypeVar) GetEmbedded

func (m *TypeVar) GetEmbedded() bool

func (*TypeVar) GetName

func (m *TypeVar) GetName() string

func (*TypeVar) GetType

func (m *TypeVar) GetType() *TypeRef

func (*TypeVar) ProtoMessage

func (*TypeVar) ProtoMessage()

func (*TypeVar) Reset

func (m *TypeVar) Reset()

func (*TypeVar) String

func (m *TypeVar) String() string

func (*TypeVar) XXX_DiscardUnknown

func (m *TypeVar) XXX_DiscardUnknown()

func (*TypeVar) XXX_Marshal

func (m *TypeVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeVar) XXX_Merge

func (dst *TypeVar) XXX_Merge(src proto.Message)

func (*TypeVar) XXX_Size

func (m *TypeVar) XXX_Size() int

func (*TypeVar) XXX_Unmarshal

func (m *TypeVar) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*UnaryExpr) GetOp

func (m *UnaryExpr) GetOp() Token

func (*UnaryExpr) GetOpPos

func (m *UnaryExpr) GetOpPos() int32

func (*UnaryExpr) GetTypeRef

func (m *UnaryExpr) GetTypeRef() *TypeRef

func (*UnaryExpr) GetX

func (m *UnaryExpr) GetX() *Expr

func (*UnaryExpr) ProtoMessage

func (*UnaryExpr) ProtoMessage()

func (*UnaryExpr) Reset

func (m *UnaryExpr) Reset()

func (*UnaryExpr) String

func (m *UnaryExpr) String() string

func (*UnaryExpr) XXX_DiscardUnknown

func (m *UnaryExpr) XXX_DiscardUnknown()

func (*UnaryExpr) XXX_Marshal

func (m *UnaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnaryExpr) XXX_Merge

func (dst *UnaryExpr) XXX_Merge(src proto.Message)

func (*UnaryExpr) XXX_Size

func (m *UnaryExpr) XXX_Size() int

func (*UnaryExpr) XXX_Unmarshal

func (m *UnaryExpr) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ValueSpec) GetComment

func (m *ValueSpec) GetComment() *CommentGroup

func (*ValueSpec) GetDoc

func (m *ValueSpec) GetDoc() *CommentGroup

func (*ValueSpec) GetNames

func (m *ValueSpec) GetNames() []*Ident

func (*ValueSpec) GetType

func (m *ValueSpec) GetType() *Expr

func (*ValueSpec) GetValues

func (m *ValueSpec) GetValues() []*Expr

func (*ValueSpec) ProtoMessage

func (*ValueSpec) ProtoMessage()

func (*ValueSpec) Reset

func (m *ValueSpec) Reset()

func (*ValueSpec) String

func (m *ValueSpec) String() string

func (*ValueSpec) XXX_DiscardUnknown

func (m *ValueSpec) XXX_DiscardUnknown()

func (*ValueSpec) XXX_Marshal

func (m *ValueSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueSpec) XXX_Merge

func (dst *ValueSpec) XXX_Merge(src proto.Message)

func (*ValueSpec) XXX_Size

func (m *ValueSpec) XXX_Size() int

func (*ValueSpec) XXX_Unmarshal

func (m *ValueSpec) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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