From a47dfd3d1417412f4d55ffa964d9fc98d8d53a9d Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 13 Sep 2021 22:26:20 +0000 Subject: deploy: 743f301eef632a41bd870529a9e838ce4974f9eb --- llvm_kaleidoscope_rs/parser/struct.Parser.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 llvm_kaleidoscope_rs/parser/struct.Parser.html (limited to 'llvm_kaleidoscope_rs/parser/struct.Parser.html') diff --git a/llvm_kaleidoscope_rs/parser/struct.Parser.html b/llvm_kaleidoscope_rs/parser/struct.Parser.html new file mode 100644 index 0000000..860dfc4 --- /dev/null +++ b/llvm_kaleidoscope_rs/parser/struct.Parser.html @@ -0,0 +1,24 @@ +Parser in llvm_kaleidoscope_rs::parser - Rust + +

Struct llvm_kaleidoscope_rs::parser::Parser[][src]

pub struct Parser<I> where
    I: Iterator<Item = char>, 
{ /* fields omitted */ }
Expand description

Parser for the kaleidoscope language.

+

Implementations

Implement the global variable int CurTok; from the tutorial.

+

Panics

+

Panics if the parser doesn’t have a current token.

+

Advance the cur_tok by getting the next token from the lexer.

+

Implement the fucntion int getNextToken(); from the tutorial.

+

definition ::= ‘def’ prototype expression

+

Implement std::unique_ptr<FunctionAST> ParseDefinition(); from the tutorial.

+

external ::= ‘extern’ prototype

+

Implement std::unique_ptr<PrototypeAST> ParseExtern(); from the tutorial.

+

toplevelexpr ::= expression

+

Implement std::unique_ptr<FunctionAST> ParseTopLevelExpr(); from the tutorial.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file -- cgit v1.2.3