Crate gf_core

Crate gf_core 

Source

Structs§

AbsFun
The Abstract function name for a constituent in a parse tree.
Abstract
ActiveItem
Active item for parsing.
Alt
Apply
Category
A syntactic constituent category in the a parse tree of a sentence.
Chart
Chart for parsing.
CncFun
Coerce
CompletionAccumulator
Accumulator for completion suggestions during parsing.
CompletionResult
Result of completion, including consumed tokens and suggestions.
Concrete
Const
Fun
GFAbstract
Abstract grammar defining logical structure via functions, categories, and types.
GFConcrete
Concrete syntax for linearizing abstract trees.
GFGrammar
A Grammatical Framework grammar consisting of one abstract and multiple concretes.
LinearizedSym
Linearized symbol row.
PArg
PGF
ParseState
Parsing state.
RuntimeCncFun
Runtime concrete function with actual symbol sequences for linearization.
SymKP
SymKS
TaggedString
Tagged string for linearization.
Trie
Prefix tree for parsing items.
Type

Enums§

ApplyFun
LinType
Production
Sym
SymArg

Functions§

is_debug_enabled
Check if debug output is currently enabled
is_undefined
Utility to check if value is undefined.
map_object
Maps a hashmap with a function.
set_debug
Enable or disable debug output for the entire library

Type Aliases§

FId
Every constituent has a unique id. If the constituent is discontinuous, it will be represented with several brackets sharing the same id.