package
Version:
v0.0.0-...-9ee0041
Opens a new window with list of versions in this module.
Published: Aug 2, 2016
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Line struct {
Num int
Tokens []Token
}
Line represents a line
Parse parses a single Go source file into a slice of Line
Add appends a token to the line.
type Token struct {
Name, Text, Kind string
Line int
}
Token represents a token in a line
Source Files
¶
Click to show internal directories.
Click to hide internal directories.