[−][src]Trait lark_parser::ParserDatabaseExt
Provided methods
fn init_parser_db(&mut self)
fn add_file(
&mut self,
path: impl IntoFileName,
contents: impl Into<Text>
)
&mut self,
path: impl IntoFileName,
contents: impl Into<Text>
)
fn top_level_entities_in_file(
&self,
file: impl IntoFileName
) -> Seq<Entity>
&self,
file: impl IntoFileName
) -> Seq<Entity>
Returns the "top-level" entities defined in the given file -- does not descend to visit the children of those entities etc.