Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DAddYE/igo
/ types & classes
Types & classes
118 in github.com/DAddYE/igo
⨍
Functions
594
◇
Types & classes
118
↓ 7 callers
TypeAlias
whiteSpace
from_go/from_go.go:28
↓ 7 callers
TypeAlias
whiteSpace
to_go/to_go.go:27
↓ 2 callers
TypeAlias
Cmd
main.go:19
↓ 1 callers
TypeAlias
Pos
Pos is a compact encoding of a source position within a file set. It can be converted into a Position for a more convenient, but much larger, represen
token/position.go:73
↓ 1 callers
TypeAlias
Token
Token is the set of lexical tokens of the Go programming language.
token/token.go:15
↓ 1 callers
TypeAlias
byCommentPos
ast/import.go:193
↓ 1 callers
TypeAlias
byImportSpec
ast/import.go:175
↓ 1 callers
TypeAlias
byPos
ast/commentmap.go:14
↓ 1 callers
FuncType
inspector
func(Node) bool
ast/walk.go:369
Struct
ArrayType
An ArrayType node represents an array or slice type.
ast/ast.go:377
Struct
AssignStmt
An AssignStmt node represents an assignment or a short variable declaration.
ast/ast.go:604
Struct
BadDecl
A BadDecl node is a placeholder for declarations containing syntax errors for which no correct declaration nodes can be created.
ast/ast.go:898
Struct
BadExpr
A BadExpr node is a placeholder for expressions containing syntax errors for which no correct expression nodes can be created.
ast/ast.go:235
Struct
BadStmt
A BadStmt node is a placeholder for statements containing syntax errors for which no correct statement nodes can be created.
ast/ast.go:556
Struct
BasicLit
A BasicLit node represents a literal of basic type.
ast/ast.go:255
Struct
BinaryExpr
A BinaryExpr node represents a binary expression.
ast/ast.go:344
Struct
BlockStmt
A BlockStmt node represents a braced statement list.
ast/ast.go:639
Struct
BranchStmt
A BranchStmt node represents a break, continue, goto, or fallthrough statement.
ast/ast.go:632
Struct
CallExpr
A CallExpr node represents an expression followed by an argument list.
ast/ast.go:318
Struct
CaseClause
A CaseClause represents a case of an expression or type switch statement.
ast/ast.go:656
TypeAlias
ChanDir
The direction of a channel type is indicated by one of the following constants.
ast/ast.go:364
Struct
ChanType
A ChanType node represents a channel type.
ast/ast.go:414
Struct
CommClause
A CommClause node represents a case of a select statement.
ast/ast.go:680
Struct
Comment
---------------------------------------------------------------------------- Comments A Comment node represents a single //-style or /*-style comment.
ast/ast.go:64
Struct
CommentGroup
A CommentGroup represents a sequence of comments with no other tokens and no empty lines between.
ast/ast.go:75
TypeAlias
CommentMap
A CommentMap maps an AST node to a list of comment groups associated with it. See NewCommentMap for a description of the association.
ast/commentmap.go:35
Struct
CommentedNode
A CommentedNode bundles an AST node and corresponding comments. It may be provided as argument to any of the Fprint functions.
from_go/from_go.go:1116
Struct
CommentedNode
A CommentedNode bundles an AST node and corresponding comments. It may be provided as argument to any of the Fprint functions.
to_go/to_go.go:1064
Struct
CompositeLit
A CompositeLit node represents a composite literal.
ast/ast.go:268
Struct
Config
A Config node controls the output of Fprint.
from_go/from_go.go:1058
Struct
Config
A Config node controls the output of Fprint.
to_go/to_go.go:1005
Interface
Decl
All declaration nodes implement the Decl interface.
ast/ast.go:55
Struct
DeclStmt
A DeclStmt node represents a declaration in a statement list.
ast/ast.go:561
Struct
DeferStmt
A DeferStmt node represents a defer statement.
ast/ast.go:618
Struct
Ellipsis
An Ellipsis node stands for the "..." type in a parameter list or the "..." length in an array type.
ast/ast.go:249
Struct
EmptyStmt
An EmptyStmt node represents an empty statement. The "position" of the empty statement is the position of the immediately preceding semicolon.
ast/ast.go:569
Struct
Error
In an ErrorList, an error is represented by an *Error. The position Pos, if valid, points to the beginning of the offending token, and the error condi
scanner/errors.go:19
FuncType
ErrorHandler
An ErrorHandler may be provided to Scanner.Init. If a syntax error is encountered and a handler was installed, the handler is called with a position a
scanner/scanner.go:27
TypeAlias
ErrorList
ErrorList is a list of *Errors. The zero value for an ErrorList is an empty ErrorList ready to use.
scanner/errors.go:37
Interface
Expr
All expression nodes implement the Expr interface.
ast/ast.go:43
Struct
ExprStmt
An ExprStmt node represents a (stand-alone) expression in a statement list.
ast/ast.go:583
Struct
Field
---------------------------------------------------------------------------- Expressions and types A Field represents a Field declaration list in a st
ast/ast.go:159
FuncType
FieldFilter
A FieldFilter may be provided to Fprint to control the output.
ast/print.go:18
Struct
FieldList
A FieldList represents a list of Fields, enclosed by parentheses or braces.
ast/ast.go:182
Struct
File
---------------------------------------------------------------------------- Files and packages A File node represents a Go source file. The Comments
ast/ast.go:968
Struct
File
----------------------------------------------------------------------------- File A File is a handle for a file belonging to a FileSet. A File has a
token/position.go:93
Struct
FileSet
----------------------------------------------------------------------------- FileSet A FileSet represents a set of source files. Methods of file sets
token/position.go:312
FuncType
Filter
---------------------------------------------------------------------------- General filtering
ast/filter.go:47
Struct
ForStmt
A ForStmt represents a for statement.
ast/ast.go:694
Struct
FuncDecl
A FuncDecl node represents a function declaration.
ast/ast.go:923
Struct
FuncLit
A FuncLit node represents a function literal.
ast/ast.go:262
Struct
FuncType
Pointer types are represented via StarExpr nodes. A FuncType node represents a function type.
ast/ast.go:393
Struct
GenDecl
A GenDecl node (generic declaration node) represents an import, constant, type or variable declaration. A valid Lparen position (Lparen.Line > 0) indi
ast/ast.go:913
Struct
GoStmt
A GoStmt node represents a go statement.
ast/ast.go:612
Struct
Ident
An Ident node represents an identifier.
ast/ast.go:240
Struct
IfStmt
An IfStmt node represents an if statement.
ast/ast.go:647
Struct
ImportSpec
An ImportSpec node represents a single package import.
ast/ast.go:827
FuncType
Importer
An Importer resolves import paths to package Objects. The imports map records the packages already imported, indexed by package id (canonical import p
ast/resolve.go:63
Struct
IncDecStmt
An IncDecStmt node represents an increment or decrement statement.
ast/ast.go:595
Struct
IndexExpr
An IndexExpr node represents an expression followed by an index.
ast/ast.go:289
Struct
InterfaceType
An InterfaceType node represents an interface type.
ast/ast.go:400
Struct
KeyValueExpr
A KeyValueExpr node represents (key : value) pairs in composite literals.
ast/ast.go:354
Struct
LabeledStmt
A LabeledStmt node represents a labeled statement.
ast/ast.go:574
Struct
MapType
A MapType node represents a map type.
ast/ast.go:407
TypeAlias
MergeMode
---------------------------------------------------------------------------- Merging of package files The MergeMode flags control the behavior of Merg
ast/filter.go:275
TypeAlias
Mode
---------------------------------------------------------------------------- Public interface A Mode value is a set of flags (or 0). They control prin
from_go/from_go.go:1048
TypeAlias
Mode
A Mode value is a set of flags (or 0). They control the amount of source code parsed and other optional parser functionality.
parser/interface.go:53
TypeAlias
Mode
cmd/utils.go:11
TypeAlias
Mode
A mode value is a set of flags (or 0). They control scanner behavior.
scanner/scanner.go:109
TypeAlias
Mode
---------------------------------------------------------------------------- Public interface A Mode value is a set of flags (or 0). They control prin
to_go/to_go.go:995
Interface
Node
---------------------------------------------------------------------------- Interfaces There are 3 main classes of nodes: Expressions and type nodes
ast/ast.go:37
TypeAlias
ObjKind
ObjKind describes what an object represents.
ast/scope.go:139
Struct
Object
---------------------------------------------------------------------------- Objects An Object describes a named language entity such as a package, co
ast/scope.go:78
Struct
Package
A Package node represents a set of source files collectively building a Go package.
ast/ast.go:990
Struct
ParenExpr
A ParenExpr node represents a parenthesized expression.
ast/ast.go:276
Struct
Position
----------------------------------------------------------------------------- Positions Position describes an arbitrary source position including the
token/position.go:22
TypeAlias
Positions
to_go/to_go.go:46
Struct
RangeStmt
A RangeStmt represents a for statement with a range clause.
ast/ast.go:703
Struct
ReturnStmt
A ReturnStmt node represents a return statement.
ast/ast.go:624
Struct
Scanner
A Scanner holds the scanner's internal state while processing a given text. It can be allocated as part of another data structure but must be initial
scanner/scanner.go:33
Struct
Scope
A Scope maintains the set of named language entities declared in the scope and a link to the immediately surrounding (outer) scope.
ast/scope.go:19
Struct
SelectStmt
An SelectStmt node represents a select statement.
ast/ast.go:688
Struct
SelectorExpr
A SelectorExpr node represents an expression followed by a selector.
ast/ast.go:283
Struct
SendStmt
A SendStmt node represents a send statement.
ast/ast.go:588
Struct
SliceExpr
An SliceExpr node represents an expression followed by slice indices.
ast/ast.go:297
Interface
Spec
The Spec type stands for any of *ImportSpec, *ValueSpec, and *TypeSpec.
ast/ast.go:821
Struct
StarExpr
A StarExpr node represents an expression of the form "*" Expression. Semantically it could be a unary "*" expression, or a pointer type.
ast/ast.go:329
Interface
Stmt
All statement nodes implement the Stmt interface.
ast/ast.go:49
Struct
StructType
A StructType node represents a struct type.
ast/ast.go:384
Struct
SwitchStmt
A SwitchStmt node represents an expression switch statement.
ast/ast.go:664
Struct
TypeAssertExpr
A TypeAssertExpr node represents an expression followed by a type assertion.
ast/ast.go:310
Struct
TypeSpec
A TypeSpec node represents a type declaration (TypeSpec production).
ast/ast.go:847
Struct
TypeSwitchStmt
An TypeSwitchStmt node represents a type switch statement.
ast/ast.go:672
Struct
UnaryExpr
A UnaryExpr node represents a unary expression. Unary "*" expressions are represented via StarExpr nodes.
ast/ast.go:337
Struct
ValueSpec
A ValueSpec node represents a constant or variable declaration (ConstSpec or VarSpec production).
ast/ast.go:838
Interface
Visitor
A Visitor's Visit method is invoked for each node encountered by Walk. If the result visitor w is not nil, Walk visits each of the children of node wi
ast/walk.go:12
Struct
bailout
A bailout panic is raised to indicate early termination.
parser/parser.go:344
TypeAlias
byInterval
ast/commentmap.go:47
Struct
commentListReader
A commentListReader helps iterating through a list of comment groups.
ast/commentmap.go:79
TypeAlias
exprListMode
from_go/nodes.go:94
next →
1–100 of 118, ranked by callers