Skip to content

Latest commit

 

History

History
140 lines (89 loc) · 5.52 KB

File metadata and controls

140 lines (89 loc) · 5.52 KB

src/minisql/sql/token.ml

Home · Files

Provides minisql sql token facilities for this project.

Package: minisql.sql.token

Reachable from entry: yes

Declarations

componentName

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.

View source

create

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.

View source

describe

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.

View source

eof

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.

View source

isImplemented

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.

View source

isKeyword

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.

View source

isKind

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.

View source

targetMilestone

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.

View source