Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DAddYE/igo
/ functions
Functions
594 in github.com/DAddYE/igo
⨍
Functions
594
◇
Types & classes
118
Method
Pos
()
ast/ast.go:979
Method
Pos
()
ast/ast.go:997
Method
Pos
Pos computes the source position of the declaration of an object name. The result may be an invalid position if it cannot be computed (obj.Decl may be
ast/scope.go:94
Method
Pos
Pos returns the Pos value for the given file offset; the offset must be <= f.Size(). f.Pos(f.Offset(p)) == p.
token/position.go:236
Method
Position
Position converts a Pos in the fileset into a general Position.
token/position.go:431
Function
Print
Print prints x to standard output, skipping nil fields. Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter).
ast/print.go:70
Function
PrintError
PrintError is a utility function that prints a list of errors to w, one error per line, if the err parameter is an ErrorList. Otherwise it prints the
scanner/errors.go:118
Method
Read
Read calls decode to deserialize a file set into s; s must not be nil.
token/serialize.go:22
Method
RemoveMultiples
RemoveMultiples sorts an ErrorList and removes all but the first error per line.
scanner/errors.go:80
Method
Reset
Reset resets an ErrorList to no errors.
scanner/errors.go:45
Method
SetLines
SetLines sets the line offsets for a file and returns true if successful. The line offsets are the offsets of the first character of each line; for in
token/position.go:170
Method
SetLinesForContent
SetLinesForContent sets the line offsets for the given file content.
token/position.go:187
Function
SortImports
SortImports sorts runs of consecutive import lines in import blocks in f. It also removes duplicate imports when it is possible to do so without data
ast/import.go:16
Method
String
()
ast/commentmap.go:317
Method
String
Debugging support
ast/scope.go:51
Method
String
()
ast/scope.go:162
Method
String
String returns a string in one of several forms: file:line:column valid position with file name line:column valid position without file
token/position.go:39
Method
Swap
(i, j int)
ast/import.go:178
Method
Swap
(i, j int)
ast/import.go:196
Method
Swap
(i, j int)
ast/commentmap.go:18
Method
Swap
(i, j int)
ast/commentmap.go:54
Method
Swap
(i, j int)
scanner/errors.go:49
Function
To
(m Mode, paths []string)
cmd/utils.go:29
Method
Update
Update replaces an old node in the comment map with the new node and returns the new node. Comments that were associated with the old node are associa
ast/commentmap.go:246
Method
Visit
(node Node)
ast/walk.go:371
Method
Write
Write calls encode to serialize the file set s.
token/serialize.go:43
Method
bodySize
bodySize is like nodeSize but it is specialized for *ast.BlockStmt's.
from_go/nodes.go:1471
Method
cleanCRLF
This allows '\n' since is needed for indenting tracks
scanner/scanner.go:496
Function
commonPrefix
commonPrefix returns the common prefix of a and b.
to_go/to_go.go:420
Method
declNode
()
ast/ast.go:57
Method
declNode
declNode() ensures that only declaration nodes can be assigned to a DeclNode.
ast/ast.go:955
Method
declNode
()
ast/ast.go:956
Method
declNode
()
ast/ast.go:957
Method
distanceFrom
distanceFrom returns the column difference between from and p.pos (the current estimated position) if both are on the same line; if they are on differ
from_go/nodes.go:1527
Function
exportFilter
---------------------------------------------------------------------------- Export filtering exportFilter is a special filter function to extract exp
ast/filter.go:16
Method
exprNode
()
ast/ast.go:45
Method
exprNode
exprNode() ensures that only expression/type nodes can be assigned to an ExprNode.
ast/ast.go:493
Method
exprNode
()
ast/ast.go:494
Method
exprNode
()
ast/ast.go:495
Method
exprNode
()
ast/ast.go:496
Method
exprNode
()
ast/ast.go:497
Method
exprNode
()
ast/ast.go:498
Method
exprNode
()
ast/ast.go:499
Method
exprNode
()
ast/ast.go:500
Method
exprNode
()
ast/ast.go:501
Method
exprNode
()
ast/ast.go:502
Method
exprNode
()
ast/ast.go:503
Method
exprNode
()
ast/ast.go:504
Method
exprNode
()
ast/ast.go:505
Method
exprNode
()
ast/ast.go:506
Method
exprNode
()
ast/ast.go:507
Method
exprNode
()
ast/ast.go:508
Method
exprNode
()
ast/ast.go:510
Method
exprNode
()
ast/ast.go:511
Method
exprNode
()
ast/ast.go:512
Method
exprNode
()
ast/ast.go:513
Method
exprNode
()
ast/ast.go:514
Method
exprNode
()
ast/ast.go:515
Function
goVisitFile
(path string, f os.FileInfo, err error)
cmd/from_go.go:96
Function
igoVisitFile
(path string, f os.FileInfo, err error)
cmd/to_go.go:95
Function
init
()
token/token.go:285
Function
isBlank
Returns true if s contains only white space (only tabs and blanks can appear in the printer's context).
from_go/from_go.go:413
Function
isBlank
Returns true if s contains only white space (only tabs and blanks can appear in the printer's context).
to_go/to_go.go:410
Function
main
()
main.go:102
Method
parseImportSpec
(doc *ast.CommentGroup, _ token.Token, _ int)
parser/parser.go:2312
Method
parseTypeSpec
(doc *ast.CommentGroup, _ token.Token, _ int)
parser/parser.go:2387
Method
parseValueSpec
(doc *ast.CommentGroup, keyword token.Token, iota int)
parser/parser.go:2350
Method
specNode
()
ast/ast.go:823
Method
specNode
specNode() ensures that only spec nodes can be assigned to a Spec.
ast/ast.go:887
Method
specNode
()
ast/ast.go:888
Method
specNode
()
ast/ast.go:889
Method
stmtNode
()
ast/ast.go:51
Method
stmtNode
stmtNode() ensures that only statement nodes can be assigned to a StmtNode.
ast/ast.go:791
Method
stmtNode
()
ast/ast.go:792
Method
stmtNode
()
ast/ast.go:793
Method
stmtNode
()
ast/ast.go:794
Method
stmtNode
()
ast/ast.go:795
Method
stmtNode
()
ast/ast.go:796
Method
stmtNode
()
ast/ast.go:797
Method
stmtNode
()
ast/ast.go:798
Method
stmtNode
()
ast/ast.go:799
Method
stmtNode
()
ast/ast.go:800
Method
stmtNode
()
ast/ast.go:801
Method
stmtNode
()
ast/ast.go:802
Method
stmtNode
()
ast/ast.go:803
Method
stmtNode
()
ast/ast.go:804
Method
stmtNode
()
ast/ast.go:805
Method
stmtNode
()
ast/ast.go:806
Method
stmtNode
()
ast/ast.go:807
Method
stmtNode
()
ast/ast.go:808
Method
stmtNode
()
ast/ast.go:809
Method
stmtNode
()
ast/ast.go:810
Method
stmtNode
()
ast/ast.go:811
Function
syncDecl
syncDecl advances to the next declaration. Used for synchronization after an error.
parser/parser.go:482
← previous
501–594 of 594, ranked by callers