Crate piston_meta [] [src]

Meta parsing and encoding for data oriented design

Structs

Lines

Stores information about lines.

Node

A node reference.

Number

Contains information about number.

Optional

Stores information about optional.

ParseStdErr

Reports error to standard error output.

Repeat

Stores inforamtion about separated by.

Select

Stores information about select.

SeparatedBy

Stores inforamtion about separated by.

Sequence

Stores information about sequence.

Text

Stores information about text.

Token

Stores information about token.

Tokenizer

Stores all the meta data sequentially.

TokenizerState

Stores the number of tokens received.

UntilAny

Stores information about reading until whitespace or any of some character.

UntilAnyOrWhitespace

Stores information about reading until whitespace or any of some character.

Whitespace

Stores information about whitespace.

Enums

MetaData

Represents meta data.

NodeVisit

Tells whether a node is visited when updated.

ParseError

Errors reporting expected values.

Rule

A rule describes how some section of a document should be parsed.

Traits

ParseErrorHandler

Implemented by error handlers.

Functions

parse

Parses text with rules.

Type Definitions

DebugId

The type of debug id used to track down errors in rules.

ParseResult

A parse result succeeds with a new state, plus an optional error to replace other errors if it is deeper. The deepest error is likely the most useful.