Struct erg_parser::parse::ParserRunner
source · pub struct ParserRunner { /* private fields */ }
Implementations§
source§impl ParserRunner
impl ParserRunner
pub fn parse_token_stream( &mut self, ts: TokenStream ) -> Result<Module, ParserRunnerErrors>
pub fn parse(&mut self, src: String) -> Result<Module, ParserRunnerErrors>
Trait Implementations§
source§impl Debug for ParserRunner
impl Debug for ParserRunner
source§impl Default for ParserRunner
impl Default for ParserRunner
source§fn default() -> ParserRunner
fn default() -> ParserRunner
Returns the “default value” for a type. Read more
source§impl Runnable for ParserRunner
impl Runnable for ParserRunner
type Err = ParserRunnerError
type Errs = ParserRunnerErrors
const NAME: &'static str = "Erg parser"
fn new(cfg: ErgConfig) -> Self
fn cfg(&self) -> &ErgConfig
fn cfg_mut(&mut self) -> &mut ErgConfig
fn finish(&mut self)
source§fn initialize(&mut self)
fn initialize(&mut self)
Erase all but immutable information.