Documentation ¶
Index ¶
- func DeclLhsPos(ident *ast.Ident) (int, error)
- func DeclPos(n *ast.Ident) (int, error)
- func DeclaredWithLit(ident *ast.Ident) (bool, error)
- func FuncResults(ident *ast.Ident) ([]*ast.Field, error)
- func IdentDeclExpr(ident *ast.Ident) (ast.Expr, error)
- func SameIdent(a, b *ast.Ident) bool
- func TypeOf(ident *ast.Ident) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeclLhsPos ¶
DeclLhsPos returns the position of the ident's variable on the left hand side of the assignment operator with which it was declared.
func FuncResults ¶
Expects ident to have an object of type func and returns the returned vars of that func.
func IdentDeclExpr ¶
IdentDeclExpr returns the expression that the identifier was declared with.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.