Skip to main content

Crate brink_syntax

Crate brink_syntax 

Source
Expand description

Syntax types and parser for inkle’s ink narrative scripting language.

Re-exports§

pub use lexer::lex;
pub use parser::Parse;
pub use parser::ParseError;
pub use parser::parse;
pub use parser::parse_with_cache;
pub use segment::Segment;
pub use segment::SegmentKind;
pub use segment::segment_file;
pub use syntax_kind::InkLanguage;
pub use syntax_kind::SyntaxElement;
pub use syntax_kind::SyntaxKind;
pub use syntax_kind::SyntaxNode;
pub use syntax_kind::SyntaxToken;

Modules§

ast
Typed AST wrappers for the ink CST.
lexer
parser
segment
Lexer-driven file segmentation for per-knot incremental lowering (issue #3084, docs/per-knot-incremental-lowering-spec.md §3 step 1).
syntax_kind

Functions§

extract_includes
Extract the file paths of all INCLUDE directives from an ink source.