Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Tokens []string TokenIDs = map[int]string{ // contains filtered or unexported fields } )
Functions ¶
func StatementLength ¶
Types ¶
type Alignment ¶
type Alignment struct {
Table AlignmentTable `mapstructure:"table"`
}
type AlignmentTable ¶
type AlignmentTable struct {
// KeyValue = true
// t = {
// key1 = value1,
// key10 = value10,
// key100 = value100,
// }
KeyValuePairs bool `mapstructure:"key-value-pairs"`
// Comments = true
// t = {
// key1 = value1, -- comment
// key10 = value10, -- comment
// key100 = value100, -- comment
// }
Comments bool `mapstructure:"comments"`
}
AlignmentTable formatting tables in code
Source Files
¶
- body.go
- chain_statments.go
- config.go
- document.go
- exp.go
- explist.go
- field.go
- fieldlist.go
- formatter.go
- length.go
- lexer.go
- newline_linux.go
- parser.go
- prefixexp.go
- search.go
- statement_assigment.go
- statement_break.go
- statement_comment.go
- statement_do.go
- statement_for.go
- statement_func.go
- statement_funccall.go
- statement_goto.go
- statement_if.go
- statement_label.go
- statement_newline.go
- statement_repeat.go
- statement_return.go
- statement_table.go
- statement_while.go
- writer.go
Click to show internal directories.
Click to hide internal directories.