Provides minisql sql token facilities for this project.
Package: minisql.sql.token
Reachable from entry: yes
function componentName()Performs the componentName operation for the minisql sql token module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
function create(kind, text, value, offset, line, column, quoted)Creates create for the minisql sql token module. Requires arguments that satisfy the validation performed below. Returns its result or propagates a structured error from validation or a dependency. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
kind |
dynamic |
— | kind value consumed by this operation. |
text |
dynamic |
— | Text consumed by the operation. |
value |
dynamic |
— | Value consumed or transformed by the operation. |
offset |
dynamic |
— | Zero-based offset at which processing starts. |
line |
dynamic |
— | line value consumed by this operation. |
column |
dynamic |
— | column value consumed by this operation. |
quoted |
dynamic |
— | quoted value consumed by this operation. |
function describe(value)Implements describe for this module. Requires arguments that satisfy the validation performed below. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function eof(offset, line, column)Implements eof for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
offset |
dynamic |
— | Zero-based offset at which processing starts. |
line |
dynamic |
— | line value consumed by this operation. |
column |
dynamic |
— | column value consumed by this operation. |
function isImplemented()Returns whether implemented satisfies the condition required by the minisql sql token module. Returns the computed value or operation status. Does not modify its inputs.
function isKeyword(value, keyword)Returns whether the supplied value satisfies the keyword condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
keyword |
dynamic |
— | keyword value consumed by this operation. |
function isKind(value, kind)Returns whether the supplied value satisfies the kind condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
kind |
dynamic |
— | kind value consumed by this operation. |
function targetMilestone()Performs the targetMilestone operation for the minisql sql token module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
- minisql.sql.token.Token — struct
- minisql.sql.token.TokenKind — enum