Documentation
¶
Index ¶
Constants ¶
View Source
const ( Plaintext TokenType = "Plaintext" Newline = "Newline" Command = "Command" Body = "Body" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseCommand ¶
func (ParseCommand) String ¶
func (p ParseCommand) String() string
type ParseResult ¶
type ParseResult struct { Chat string Commands []ParseCommand }
func Parse ¶
func Parse(input string) ParseResult
func ParseTokens ¶
func ParseTokens(tokens []Token) ParseResult
Click to show internal directories.
Click to hide internal directories.