package
0.1.0-alpha
Repository: https://github.com/wingerjc/tableman-golang.git
Documentation: pkg.go.dev

# Functions

GetExpressionParser creates a new parser for expressions.
GetParser creates a new parser for table files.
GetRollParser creates a new parser for rolls.
GetRowParser creates a new parser for table rows.
GetTableParser creates a new parse for tables.
PrintTokens can be used for debug to print out up to the first `count` tokens parsed from the input stream.

# Constants

FuncExprT the type value for a function call value expression.
LabelExprT the type value for a label/string value expression.
NoneExprT the type value for an untyped value expression.
NumExprT the type value for a numeric value expression.
RollExprT the type value for an roll value expression.
TableExprT the type value for a table call value expression.
VarExprT the type value for a variable value expression.

# Variables

DefaultElide the default list of tokens to elide from AST parsing.
DefaultLexer is a default lexer for the tableman language.
ExprTypeStr a human readable map of expression value types for debugging.

# Structs

Call is an AST node for calling table or function.
Expression is an AST node for an expression that can have variables defined within it.
ExpressionParser can parse expressions from text to AST.
ExtendedTableName is an AST node for a package definition or call to a package prefixed table.
FileHeader is an AST node that describes a table file.
GeneratorStep is an AST node that denotes a list of generation targets.
GeneratorTableRow is an AST node that denotes an ordered list of row generation steps.
ImportStatement is an AST node that denotes an imported file.
LabelString is an AST node that can be either a string or a name.
NumberRange is an AST node that denotes a single number or a range of numbers.
RangeList is an AST node that denotes a list of integers or number ranges Pattern: <NumberRange> (, <NumberRange>)* Example: 1, 2, 5-9, 8.
Roll is an AST node that denotes a dice roll expression.
RollCountAggr is an AST node that multiplies th Pattern: .
RollParser can parse roll expressions from text to AST.
RowItem is an AST node that denotes a single value to be concatenated in a row.
RowParser can parse table row expressions from text to AST.
Table is an AST node that denotes a single table.
TableFile is an AST node that incorporates a whole table source file.
TableFileParser can parse full table files from text to AST.
TableHeader is an AST node that denotes meta information about a table.
TableParser can parse table expressions from text to AST.
TableRow is an AST node that denotes a single table row.
Tag is an AST node that denotes a meta tag.
ValueExpr is an AST node for expressions that can return values.
VariableDef is an AST node for defining a variable.
VarName is an AST node for a variable name.

# Type aliases

ValueExprType is an enum type for denoting a ValueExpr stored type.