MCPcopy Create free account

hub / github.com/DAddYE/igo / functions

Functions594 in github.com/DAddYE/igo

MethodPos
()
ast/ast.go:979
MethodPos
()
ast/ast.go:997
MethodPos
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
MethodPos
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
MethodPosition
Position converts a Pos in the fileset into a general Position.
token/position.go:431
FunctionPrint
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
FunctionPrintError
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
MethodRead
Read calls decode to deserialize a file set into s; s must not be nil.
token/serialize.go:22
MethodRemoveMultiples
RemoveMultiples sorts an ErrorList and removes all but the first error per line.
scanner/errors.go:80
MethodReset
Reset resets an ErrorList to no errors.
scanner/errors.go:45
MethodSetLines
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
MethodSetLinesForContent
SetLinesForContent sets the line offsets for the given file content.
token/position.go:187
FunctionSortImports
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
MethodString
()
ast/commentmap.go:317
MethodString
Debugging support
ast/scope.go:51
MethodString
()
ast/scope.go:162
MethodString
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
MethodSwap
(i, j int)
ast/import.go:178
MethodSwap
(i, j int)
ast/import.go:196
MethodSwap
(i, j int)
ast/commentmap.go:18
MethodSwap
(i, j int)
ast/commentmap.go:54
MethodSwap
(i, j int)
scanner/errors.go:49
FunctionTo
(m Mode, paths []string)
cmd/utils.go:29
MethodUpdate
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
MethodVisit
(node Node)
ast/walk.go:371
MethodWrite
Write calls encode to serialize the file set s.
token/serialize.go:43
MethodbodySize
bodySize is like nodeSize but it is specialized for *ast.BlockStmt's.
from_go/nodes.go:1471
MethodcleanCRLF
This allows '\n' since is needed for indenting tracks
scanner/scanner.go:496
FunctioncommonPrefix
commonPrefix returns the common prefix of a and b.
to_go/to_go.go:420
MethoddeclNode
()
ast/ast.go:57
MethoddeclNode
declNode() ensures that only declaration nodes can be assigned to a DeclNode.
ast/ast.go:955
MethoddeclNode
()
ast/ast.go:956
MethoddeclNode
()
ast/ast.go:957
MethoddistanceFrom
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
FunctionexportFilter
---------------------------------------------------------------------------- Export filtering exportFilter is a special filter function to extract exp
ast/filter.go:16
MethodexprNode
()
ast/ast.go:45
MethodexprNode
exprNode() ensures that only expression/type nodes can be assigned to an ExprNode.
ast/ast.go:493
MethodexprNode
()
ast/ast.go:494
MethodexprNode
()
ast/ast.go:495
MethodexprNode
()
ast/ast.go:496
MethodexprNode
()
ast/ast.go:497
MethodexprNode
()
ast/ast.go:498
MethodexprNode
()
ast/ast.go:499
MethodexprNode
()
ast/ast.go:500
MethodexprNode
()
ast/ast.go:501
MethodexprNode
()
ast/ast.go:502
MethodexprNode
()
ast/ast.go:503
MethodexprNode
()
ast/ast.go:504
MethodexprNode
()
ast/ast.go:505
MethodexprNode
()
ast/ast.go:506
MethodexprNode
()
ast/ast.go:507
MethodexprNode
()
ast/ast.go:508
MethodexprNode
()
ast/ast.go:510
MethodexprNode
()
ast/ast.go:511
MethodexprNode
()
ast/ast.go:512
MethodexprNode
()
ast/ast.go:513
MethodexprNode
()
ast/ast.go:514
MethodexprNode
()
ast/ast.go:515
FunctiongoVisitFile
(path string, f os.FileInfo, err error)
cmd/from_go.go:96
FunctionigoVisitFile
(path string, f os.FileInfo, err error)
cmd/to_go.go:95
Functioninit
()
token/token.go:285
FunctionisBlank
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
FunctionisBlank
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
Functionmain
()
main.go:102
MethodparseImportSpec
(doc *ast.CommentGroup, _ token.Token, _ int)
parser/parser.go:2312
MethodparseTypeSpec
(doc *ast.CommentGroup, _ token.Token, _ int)
parser/parser.go:2387
MethodparseValueSpec
(doc *ast.CommentGroup, keyword token.Token, iota int)
parser/parser.go:2350
MethodspecNode
()
ast/ast.go:823
MethodspecNode
specNode() ensures that only spec nodes can be assigned to a Spec.
ast/ast.go:887
MethodspecNode
()
ast/ast.go:888
MethodspecNode
()
ast/ast.go:889
MethodstmtNode
()
ast/ast.go:51
MethodstmtNode
stmtNode() ensures that only statement nodes can be assigned to a StmtNode.
ast/ast.go:791
MethodstmtNode
()
ast/ast.go:792
MethodstmtNode
()
ast/ast.go:793
MethodstmtNode
()
ast/ast.go:794
MethodstmtNode
()
ast/ast.go:795
MethodstmtNode
()
ast/ast.go:796
MethodstmtNode
()
ast/ast.go:797
MethodstmtNode
()
ast/ast.go:798
MethodstmtNode
()
ast/ast.go:799
MethodstmtNode
()
ast/ast.go:800
MethodstmtNode
()
ast/ast.go:801
MethodstmtNode
()
ast/ast.go:802
MethodstmtNode
()
ast/ast.go:803
MethodstmtNode
()
ast/ast.go:804
MethodstmtNode
()
ast/ast.go:805
MethodstmtNode
()
ast/ast.go:806
MethodstmtNode
()
ast/ast.go:807
MethodstmtNode
()
ast/ast.go:808
MethodstmtNode
()
ast/ast.go:809
MethodstmtNode
()
ast/ast.go:810
MethodstmtNode
()
ast/ast.go:811
FunctionsyncDecl
syncDecl advances to the next declaration. Used for synchronization after an error.
parser/parser.go:482
← previous501–594 of 594, ranked by callers