Documentation ¶
Overview ¶
Package stmt defines data structures representing Neugram statements.
Index ¶
- type Assign
- type Bad
- type Block
- type Branch
- type Const
- type ConstSet
- type Defer
- type For
- type Go
- type If
- type Import
- type ImportSet
- type Labeled
- type MethodikDecl
- type Range
- type Return
- type Select
- type SelectCase
- type Send
- type Simple
- type Stmt
- type Switch
- type SwitchCase
- type TypeDecl
- type TypeDeclSet
- type TypeSwitch
- type TypeSwitchCase
- type Var
- type VarSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assign ¶
type Bad ¶
type Block ¶
type Branch ¶
type Const ¶
type ConstSet ¶
type Defer ¶
type For ¶
type Go ¶
type If ¶
type Import ¶
type ImportSet ¶
type Labeled ¶
type MethodikDecl ¶
type MethodikDecl struct { Position src.Pos Name string Type *tipe.Named Methods []*expr.FuncLiteral }
func (*MethodikDecl) Pos ¶
func (s *MethodikDecl) Pos() src.Pos
type Range ¶
type Return ¶
type Select ¶
type Select struct { Position src.Pos Cases []SelectCase }
type SelectCase ¶
type SelectCase struct { Position src.Pos Default bool Stmt Stmt // a recv- or send-stmt Body *Block }
func (SelectCase) Pos ¶
func (s SelectCase) Pos() src.Pos
type Send ¶
Send is channel send statement, "a <- b".
type Simple ¶
type Stmt ¶
type Switch ¶
type SwitchCase ¶
func (SwitchCase) Pos ¶
func (s SwitchCase) Pos() src.Pos
type TypeDecl ¶
type TypeDeclSet ¶
func (*TypeDeclSet) Pos ¶
func (s *TypeDeclSet) Pos() src.Pos
type TypeSwitch ¶
type TypeSwitch struct { Position src.Pos Init Stmt // initialization statement; or nil Assign Stmt // x := y.(type) or y.(type) Cases []TypeSwitchCase }
func (*TypeSwitch) Pos ¶
func (s *TypeSwitch) Pos() src.Pos
type TypeSwitchCase ¶
func (TypeSwitchCase) Pos ¶
func (s TypeSwitchCase) Pos() src.Pos
type Var ¶
Click to show internal directories.
Click to hide internal directories.