Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLineStarters ¶
func GetLineStarters() []string
Types ¶
type Token ¶
type Token struct {
// contains filtered or unexported fields
}
func NewSimpleToken ¶
func (*Token) CommentsBefore ¶
func (*Token) WantedNewLine ¶
func (*Token) WhitespaceBefore ¶
type TokenStack ¶
type TokenStack struct {
// contains filtered or unexported fields
}
func (*TokenStack) Append ¶
func (self *TokenStack) Append(t Token)
func (*TokenStack) Empty ¶
func (self *TokenStack) Empty() bool
func (*TokenStack) Pop ¶
func (self *TokenStack) Pop() *Token
func (*TokenStack) Shift ¶
func (self *TokenStack) Shift() *Token
Click to show internal directories.
Click to hide internal directories.