MCPcopy Create free account

hub / github.com/DAddYE/igo / functions

Functions594 in github.com/DAddYE/igo

↓ 3 callersMethodadjBlock
adjBlock prints an "adjacent" block (e.g., a for-loop or function body) following a header (e.g., a for-loop control clause or function signature) of
from_go/nodes.go:1500
↓ 3 callersMethodatComma
(context string)
parser/parser.go:423
↓ 3 callersMethodcheckExprOrType
checkExprOrType checks that x is an expression or a type (and not a raw type such as [...]T).
parser/parser.go:1507
↓ 3 callersMethodcontrolClause
(isForStmt bool, init ast.Stmt, expr ast.Expr, post ast.Stmt)
from_go/nodes.go:992
↓ 3 callersMethodcontrolClause
(isForStmt bool, init ast.Stmt, expr ast.Expr, post ast.Stmt)
to_go/nodes.go:981
↓ 3 callersMethoddecl
(decl ast.Decl)
from_go/nodes.go:1559
↓ 3 callersMethoddecl
(decl ast.Decl)
to_go/nodes.go:1531
↓ 3 callersMethoddeclare
(scope, altScope *Scope, obj *Object)
ast/resolve.go:29
↓ 3 callersMethoderrorf
(pos token.Pos, format string, args ...interface{})
ast/resolve.go:25
↓ 3 callersFunctionfilterFile
(src *File, f Filter, export bool)
ast/filter.go:234
↓ 3 callersFunctiongoReport
(err error)
cmd/from_go.go:26
↓ 3 callersFunctionigoReport
(err error)
cmd/to_go.go:27
↓ 3 callersMethodmakeExpr
(s ast.Stmt)
parser/parser.go:1877
↓ 3 callersFunctionmatchSpace
matchSpace reformats src to use the same space context as orig. 1) If orig begins with blank lines, matchSpace inserts them at the beginning of src. 2
cmd/utils.go:91
↓ 3 callersMethodnextComment
()
from_go/from_go.go:123
↓ 3 callersMethodnextComment
()
to_go/to_go.go:121
↓ 3 callersFunctionnlimit
---------------------------------------------------------------------------- Printing interface nlines limits n to maxNewlines.
from_go/from_go.go:662
↓ 3 callersFunctionnlimit
---------------------------------------------------------------------------- Printing interface nlines limits n to maxNewlines.
to_go/to_go.go:601
↓ 3 callersMethodparameters
(fields *ast.FieldList)
to_go/nodes.go:265
↓ 3 callersMethodparseBody
(scope *ast.Scope)
parser/parser.go:1096
↓ 3 callersMethodparseDecl
(sync func(*parser))
parser/parser.go:2524
↓ 3 callersMethodparseStmt
()
parser/parser.go:2234
↓ 3 callersFunctionreduceDepth
(depth int)
from_go/nodes.go:586
↓ 3 callersFunctionreduceDepth
(depth int)
to_go/nodes.go:588
↓ 3 callersMethodsignature
(params, result *ast.FieldList)
to_go/nodes.go:328
↓ 3 callersMethodspec
The parameter n is the number of specs in the group. If doIndent is set, multi-line identifier lists in the spec are indented when the first linebreak
from_go/nodes.go:1350
↓ 3 callersMethodspec
The parameter n is the number of specs in the group. If doIndent is set, multi-line identifier lists in the spec are indented when the first linebreak
to_go/nodes.go:1327
↓ 3 callersFunctionstripCR
(b []byte)
scanner/scanner.go:410
↓ 3 callersFunctionstripParens
(x ast.Expr)
from_go/nodes.go:959
↓ 3 callersFunctionstripParens
(x ast.Expr)
to_go/nodes.go:948
↓ 3 callersFunctiontrimRight
trimRight returns s with trailing whitespace removed.
from_go/from_go.go:423
↓ 3 callersMethodtryType
()
parser/parser.go:1070
↓ 3 callersMethodtryVarType
If the result is an identifier, it is not resolved.
parser/parser.go:764
↓ 3 callersFunctionwalkStmtList
(v Visitor, list []Stmt)
ast/walk.go:30
↓ 3 callersMethodwriteString
writeString writes the string s to p.output and updates p.pos, p.out, and p.last. If isLit is set, s is escaped w/ tabwriter.Escape characters to prot
from_go/from_go.go:223
↓ 2 callersMethodAddLine
AddLine adds the line offset for a new line. The line offset must be larger than the offset for the previous line and smaller than the file size; othe
token/position.go:131
↓ 2 callersMethodFile
File returns the file that contains the position p. If no such file is found (for instance for p == NoPos), the result is nil.
token/position.go:423
↓ 2 callersFunctionInspect
Inspect traverses an AST in depth-first order: It starts by calling f(node); node must not be nil. If f returns true, Inspect invokes f for all the no
ast/walk.go:382
↓ 2 callersMethodIsLiteral
Predicates IsLiteral returns true for tokens corresponding to identifiers and basic type literals; it returns false otherwise.
token/token.go:306
↓ 2 callersMethodMergeLine
MergeLine merges a line with the following line. It is akin to replacing the newline character at the end of the line with a space (to not change the
token/position.go:144
↓ 2 callersFunctionNewScope
NewScope creates a new scope nested in the outer scope.
ast/scope.go:25
↓ 2 callersMethodNumFields
NumFields returns the number of (named and anonymous fields) in a FieldList.
ast/ast.go:213
↓ 2 callersMethodOffset
Offset returns the offset for the given file position p; p must be a valid Pos value in that file. f.Offset(f.Pos(offset)) == offset.
token/position.go:247
↓ 2 callersMethodSize
Size returns the size of file f as registered with AddFile.
token/position.go:115
↓ 2 callersMethodVisit
(node Node)
ast/walk.go:13
↓ 2 callersFunctionabs
(i int)
main.go:53
↓ 2 callersMethodadjBlock
adjBlock prints an "adjacent" block (e.g., a for-loop or function body) following a header (e.g., a for-loop control clause or function signature) of
to_go/nodes.go:1479
↓ 2 callersMethodatLineBegin
atLineBegin emits a //line comment if necessary and prints indentation.
from_go/from_go.go:162
↓ 2 callersMethodatLineBegin
atLineBegin emits a //line comment if necessary and prints indentation.
to_go/to_go.go:160
↓ 2 callersMethodconsumeCommentGroup
Consume a group of adjacent comments, add it to the parser's comments list, and return it together with the line at which the last comment in the grou
parser/parser.go:276
↓ 2 callersFunctioncreateDir
(file string)
cmd/utils.go:61
↓ 2 callersFunctioncutSpace
(b []byte)
cmd/utils.go:70
↓ 2 callersMethoddeclList
(list []ast.Decl)
from_go/nodes.go:1586
↓ 2 callersMethoddeclList
(list []ast.Decl)
to_go/nodes.go:1558
↓ 2 callersFunctiondigitVal
(ch rune)
scanner/scanner.go:226
↓ 2 callersMethoddistanceFrom
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
to_go/nodes.go:1510
↓ 2 callersMethodeol
()
ast/commentmap.go:87
↓ 2 callersMethoderror
(pos token.Pos, msg string)
ast/resolve.go:21
↓ 2 callersMethodexpectClosing
expectClosing is like expect but provides a better error message for the common case of a missing comma before a newline.
parser/parser.go:395
↓ 2 callersMethodfieldList
(fields *ast.FieldList, isStruct, isIncomplete bool)
from_go/nodes.go:387
↓ 2 callersMethodfieldList
(fields *ast.FieldList, isStruct, isIncomplete bool)
to_go/nodes.go:386
↓ 2 callersMethodfile
(p Pos)
token/position.go:396
↓ 2 callersFunctionfilterDecl
(decl Decl, f Filter, export bool)
ast/filter.go:209
↓ 2 callersFunctionfilterFieldList
(fields *FieldList, filter Filter, export bool)
ast/filter.go:78
↓ 2 callersFunctionfilterIdentList
(list []*Ident, f Filter)
ast/filter.go:49
↓ 2 callersFunctionfilterPackage
(pkg *Package, f Filter, export bool)
ast/filter.go:261
↓ 2 callersFunctionfilterParamList
(fields *FieldList, filter Filter, export bool)
ast/filter.go:113
↓ 2 callersMethodfprint
fprint implements Fprint and takes a nodesSizes map for setting up the printer state.
from_go/from_go.go:1065
↓ 2 callersMethodfprint
fprint implements Fprint and takes a nodesSizes map for setting up the printer state.
to_go/to_go.go:1012
↓ 2 callersFunctiongetDoc
getNode returns the ast.CommentGroup associated with n, if any.
from_go/from_go.go:848
↓ 2 callersFunctiongetDoc
getNode returns the ast.CommentGroup associated with n, if any.
to_go/to_go.go:783
↓ 2 callersFunctiongoProcessFile
(filename string, in io.Reader, out io.Writer)
cmd/from_go.go:46
↓ 2 callersFunctionigoProcessFile
(filename string, in io.Reader, out io.Writer)
cmd/to_go.go:44
↓ 2 callersFunctionimportComment
(s Spec)
ast/import.go:70
↓ 2 callersMethodinit
(fset *token.FileSet, filename string, src []byte, mode Mode)
parser/parser.go:71
↓ 2 callersFunctionisBinary
(expr ast.Expr)
from_go/nodes.go:669
↓ 2 callersFunctionisBinary
(expr ast.Expr)
to_go/nodes.go:671
↓ 2 callersFunctionisLetter
(ch rune)
scanner/scanner.go:210
↓ 2 callersFunctionisTypeName
isTypeName returns true iff x is a (qualified) TypeName.
parser/parser.go:1458
↓ 2 callersFunctionisTypeSwitchAssert
(x ast.Expr)
parser/parser.go:1970
↓ 2 callersMethodmakeIdentList
(list []ast.Expr)
parser/parser.go:646
↓ 2 callersMethodnext
()
ast/commentmap.go:91
↓ 2 callersMethodnext0
Advance to the next token.
parser/parser.go:242
↓ 2 callersMethodparameters
(fields *ast.FieldList)
from_go/nodes.go:266
↓ 2 callersMethodparseBranchStmt
(tok token.Token)
parser/parser.go:1859
↓ 2 callersMethodparseCallExpr
()
parser/parser.go:1801
↓ 2 callersMethodparseExprList
---------------------------------------------------------------------------- Common productions If lhs is set, result list elements which are identifi
parser/parser.go:536
↓ 2 callersMethodparseFieldDecl
(scope *ast.Scope)
parser/parser.go:662
↓ 2 callersMethodparseFuncType
()
parser/parser.go:910
↓ 2 callersMethodparseGenDecl
(keyword token.Token, f parseSpecFunction)
parser/parser.go:2408
↓ 2 callersMethodparseIdentList
()
parser/parser.go:518
↓ 2 callersMethodparseLhsList
()
parser/parser.go:550
↓ 2 callersMethodparseLiteralValue
(typ ast.Expr)
parser/parser.go:1410
↓ 2 callersMethodparseMethodSpec
(scope *ast.Scope)
parser/parser.go:922
↓ 2 callersMethodparseParameters
(scope *ast.Scope, ellipsisOk bool)
parser/parser.go:865
↓ 2 callersMethodparseReceiver
(typ ast.Expr, scope *ast.Scope)
parser/parser.go:2438
↓ 2 callersMethodparseReturnStmt
()
parser/parser.go:1843
↓ 2 callersMethodparseSmallStmt
()
parser/parser.go:2202
↓ 2 callersMethodparseTypeName
If the result is an identifier, it is not resolved.
parser/parser.go:607
↓ 2 callersMethodparseVarList
If any of the results are identifiers, they are not resolved.
parser/parser.go:793
← previousnext →101–200 of 594, ranked by callers