errstmt

package
v0.0.0-...-9d8618e Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignIfErrStmt

type AssignIfErrStmt struct {
	FirstStmt ast.Stmt
	IfStmt    *ast.IfStmt
	ErrVar    *ast.Ident // the error variable != nil
	IsShort   bool       // short assignment?
}

func NewAssignIfErrStmt

func NewAssignIfErrStmt(aStmt *ast.AssignStmt, iStmt *ast.IfStmt) *AssignIfErrStmt

func (*AssignIfErrStmt) End

func (a *AssignIfErrStmt) End() token.Pos

func (*AssignIfErrStmt) Pos

func (a *AssignIfErrStmt) Pos() token.Pos

func (*AssignIfErrStmt) StmtNode

func (*AssignIfErrStmt) StmtNode()

Jump to

Keyboard shortcuts

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