Documentation
¶
Index ¶
Constants ¶
View Source
const ( CompressionLevelMin = 0 CompressionLevelMax = 2 )
Variables ¶
This section is empty.
Functions ¶
func FindSpellingInconsistencies ¶
FindSpellingInconsistencies finds spelling inconsistencies in identifiers. The identifiers are considered to be the same if they are spelled the same when expressed in UpperCamelCase. For example, `left_paren` and `LeftParen` are spelled the same in UpperCamelCase. Thus they are considere to be spelling inconsistency.
Types ¶
type CompileError ¶
type CompileError struct { Kind spec.LexKindName Fragment bool Cause error Detail string }
func Compile ¶
func Compile(lexspec *LexSpec, compLv int) (*spec.LexicalSpec, error, []*CompileError)
type LexEntry ¶
type LexEntry struct { Kind spec.LexKindName Pattern string Modes []spec.LexModeName Push spec.LexModeName Pop bool Fragment bool }
Click to show internal directories.
Click to hide internal directories.