Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CRLFInvalid = errors.New("invalid CRLF") LineEscapeIncomplete = errors.New("incomplete line escape") )
View Source
var ( CommaChar = ',' ColonChar = ':' SemiColonChar = ';' NewLineChar = '\n' OpenParenthesesChar = '(' CloseParenthesesChar = ')' OpenSquareBracketChar = '[' CloseSquareBracketChar = ']' OpenBraceChar = '{' CloseBraceChar = '}' DollarSignChar = '$' DotChar = '.' BitwiseOrChar = '|' BitwiseXorChar = '^' BitWiseAndChar = '&' AddChar = '+' SubChar = '-' StarChar = '*' DivChar = '/' ModulusChar = '%' LessThanChar = '<' GreatThanChar = '>' NegateBitsChar = '~' SignNotChar = '!' EqualsChar = '=' WhiteSpaceChar = ' ' TabChar = '\t' CommentChar = '#' BackSlashChar = '\\' PassString = "pass" SuperString = "super" DeleteString = "delete" DeferString = "defer" RequireString = "require" EndString = "end" IfString = "if" UnlessString = "unless" ElseString = "else" ElifString = "elif" WhileString = "while" DoString = "do" ForString = "for" UntilString = "until" SwitchString = "switch" CaseString = "case" DefaultString = "default" YieldString = "yield" ReturnString = "return" ContinueString = "continue" BreakString = "break" ModuleString = "module" DefString = "def" GeneratorString = "gen" LambdaString = "lambda" InterfaceString = "interface" ClassString = "class" AndString = "and" OrString = "or" XorString = "xor" InString = "in" IsString = "is" ImplementsString = "implements" BEGINString = "BEGIN" ENDString = "END" NotString = "not" TrueString = "true" FalseString = "false" NoneString = "none" )
View Source
var ( StringInvalidEscape = errors.New("invalid string escape sequence") StringNeverClosed = errors.New("string never closed") )
View Source
var (
BinaryInvalidSyntax = errors.New("invalid binary integer syntax")
)
View Source
var (
HexInvalidSyntax = errors.New("invalid hex integer syntax")
)
View Source
var (
OctalInvalidSyntax = errors.New("invalid octal integer syntax")
)
View Source
var (
ScientificFloatInvalidSyntax = errors.New("invalid scientific float syntax")
)
Functions ¶
This section is empty.
Types ¶
type DirectValue ¶
type DirectValue uint8
const ( SingleQuoteString DirectValue = iota DoubleQuoteString ByteString Integer HexadecimalInteger BinaryInteger OctalInteger Float ScientificFloat CommandOutput Comma Colon SemiColon NewLine Pass Super Delete Defer End If Unless Else Elif While Do For Until Switch Case Default Yield Return Continue Break Module Def Generator Lambda Interface Class BEGIN END Assign BitwiseOrAssign BitwiseXorAssign BitwiseAndAssign BitwiseLeftAssign BitwiseRightAssign AddAssign SubAssign StarAssign DivAssign FloorDivAssign ModulusAssign PowerOfAssign Not SignNot NegateBits And Or Xor In Is Implements Equals NotEqual GreaterThan GreaterOrEqualThan LessThan LessOrEqualThan BitwiseOr BitwiseXor BitwiseAnd BitwiseLeft BitwiseRight Add // This is also an unary operator Sub // This is also an unary operator Star Div FloorDiv Modulus PowerOf True False None OpenParentheses CloseParentheses OpenSquareBracket CloseSquareBracket OpenBrace CloseBrace DollarSign Dot InvalidDirectValue Blank )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.