package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev
# Functions
Fdump dumps the structure of the syntax tree rooted at n to w.
No description provided by the author
MakePos returns a new Pos for the given PosBase, line and column.
NewFileBase returns a new PosBase for the given filename.
NewLineBase returns a new PosBase for a line directive "line filename:line:col" relative to pos, which is the position of the character immediately following the comment containing the line directive.
Parse parses a single Go source file from src and returns the corresponding syntax tree.
ParseFile behaves like Parse but it reads the source from the named file.
No description provided by the author
# Constants
No description provided by the author
+.
&.
&&.
&^.
No description provided by the author
for BranchStmt.
check correct use of labels, break, continue, and goto statements.
No description provided by the author
:.
No description provided by the author
/.
==.
No description provided by the author
TODO(gri) With the 'i' (imaginary) suffix now permitted on integer and floating-point numbers, having a single ImagLit does not represent the literal kind well anymore.
>=.
for CallStmt.
No description provided by the author
>.
TODO(gri) With the 'i' (imaginary) suffix now permitted on integer and floating-point numbers, having a single ImagLit does not represent the literal kind well anymore.
TODO(gri) With the 'i' (imaginary) suffix now permitted on integer and floating-point numbers, having a single ImagLit does not represent the literal kind well anymore.
No description provided by the author
<=.
<.
*.
!=.
!.
|.
||.
PosMax is the largest line or column value that can be represented without loss.
<-.
No description provided by the author
%.
No description provided by the author
TODO(gri) With the 'i' (imaginary) suffix now permitted on integer and floating-point numbers, having a single ImagLit does not represent the literal kind well anymore.
No description provided by the author
<<.
>>.
TODO(gri) With the 'i' (imaginary) suffix now permitted on integer and floating-point numbers, having a single ImagLit does not represent the literal kind well anymore.
-.
^.
# Variables
We represent x++, x-- as assignments x += ImplicitOne, x -= ImplicitOne.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error describes a syntax error.
No description provided by the author
No description provided by the author
package PkgName; DeclList[0], DeclList[1], ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
All declarations belonging to the same group point to the same Group node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Pos represents an absolute (line, col) source position with a reference to position base for computing relative (to a file, or line directive) position information.
A PosBase represents the base for relative position information: At position pos, the relative position is filename:line:col.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
TODO(gri) Consider renaming to CommentPos, CommentPlacement, etc.
An ErrorHandler is called for each error encountered reading a .go file.
No description provided by the author
Mode describes the parser mode.
No description provided by the author
A Pragma value is a set of flags that augment a function or type declaration.
A PragmaHandler is used to process //go: directives as they're scanned.