Discover Packages
github.com/google/gapid
gapis
stringtable
minidown
token
package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Nov 8, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 8 modules, 14 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package token holds the tokens generated my the minidown scanner.
Bullet represets a '*' non-adjacent to text.
CST returns the cst.Node of this token.
type CloseBracket struct {
*cst .Leaf
}
CloseBracket represents a ')', ']' or '}'.
CST returns the cst.Node of this token.
Is returns true if the bracket is of the type r.
Emphasis represets a '*', '_', '**' or '__' adjacent text.
CST returns the cst.Node of this token.
Heading represents a run of '#'
CST returns the cst.Node of this token.
NewLine represents a newline.
CST returns the cst.Node of this token.
type OpenBracket struct {
*cst .Leaf
}
OpenBracket represents a '(', '[' or '{'.
CST returns the cst.Node of this token.
Is returns true if the bracket is of the type r.
Tag represents a alpha-numeric wrapped with double curly brackets.
For example '{{person}}'.
CST returns the cst.Node of this token.
Text represents regular text.
CST returns the cst.Node of this token.
type Token interface {
CST() cst .Node
}
Token is the interface implemented by all tokens.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.