From 73e25a571f12d3deaa6f4493a5b4792a9dae39eb Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 24 Sep 2022 22:38:40 +0000 Subject: deploy: 295081130ca1eed6e67dfc035e2df2c9ed49b174 --- llvm_kaleidoscope_rs/lexer/enum.Token.html | 51 +++++++++++++++++----------- llvm_kaleidoscope_rs/lexer/index.html | 14 +++++--- llvm_kaleidoscope_rs/lexer/sidebar-items.js | 2 +- llvm_kaleidoscope_rs/lexer/struct.Lexer.html | 32 ++++++++++------- 4 files changed, 63 insertions(+), 36 deletions(-) (limited to 'llvm_kaleidoscope_rs/lexer') diff --git a/llvm_kaleidoscope_rs/lexer/enum.Token.html b/llvm_kaleidoscope_rs/lexer/enum.Token.html index 9ecc208..4d4b4d1 100644 --- a/llvm_kaleidoscope_rs/lexer/enum.Token.html +++ b/llvm_kaleidoscope_rs/lexer/enum.Token.html @@ -1,23 +1,36 @@ -Token in llvm_kaleidoscope_rs::lexer - Rust

Enum llvm_kaleidoscope_rs::lexer::Token[][src]

pub enum Token {
+Token in llvm_kaleidoscope_rs::lexer - Rust
+    
pub enum Token {
     Eof,
     Def,
     Extern,
-    Identifier(String),
-    Number(f64),
-    Char(char),
-}

Variants

Eof
Def
Extern
Identifier(String)
Number(f64)
Char(char)

Trait Implementations

Formats the value using the given formatter. Read more

-

This method tests for self and other values to be equal, and is used -by ==. Read more

-

This method tests for !=.

-

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.

-
- + Identifier(String), + Number(f64), + Char(char), + If, + Then, + Else, + For, + In, +}

Variants

Eof

Def

Extern

Identifier(String)

Number(f64)

Char(char)

If

Then

Else

For

In

Trait Implementations

Formats the value using the given formatter. Read more

+

This method tests for self and other values to be equal, and is used +by ==. Read more

+

This method tests for !=.

+

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

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

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 diff --git a/llvm_kaleidoscope_rs/lexer/index.html b/llvm_kaleidoscope_rs/lexer/index.html index 972ee08..6c5c8f9 100644 --- a/llvm_kaleidoscope_rs/lexer/index.html +++ b/llvm_kaleidoscope_rs/lexer/index.html @@ -1,5 +1,11 @@ -llvm_kaleidoscope_rs::lexer - Rust

Module llvm_kaleidoscope_rs::lexer[][src]

Structs

-

Enums

-
- +llvm_kaleidoscope_rs::lexer - Rust +
\ No newline at end of file diff --git a/llvm_kaleidoscope_rs/lexer/sidebar-items.js b/llvm_kaleidoscope_rs/lexer/sidebar-items.js index 343e858..a3ba100 100644 --- a/llvm_kaleidoscope_rs/lexer/sidebar-items.js +++ b/llvm_kaleidoscope_rs/lexer/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["Token",""]],"struct":[["Lexer",""]]}); \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":[["Token",""]],"struct":[["Lexer",""]]}; \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/lexer/struct.Lexer.html b/llvm_kaleidoscope_rs/lexer/struct.Lexer.html index 2892920..ab9a86b 100644 --- a/llvm_kaleidoscope_rs/lexer/struct.Lexer.html +++ b/llvm_kaleidoscope_rs/lexer/struct.Lexer.html @@ -1,14 +1,22 @@ -Lexer in llvm_kaleidoscope_rs::lexer - Rust

Struct llvm_kaleidoscope_rs::lexer::Lexer[][src]

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

Implementations

Lex and return the next token.

+Lexer in llvm_kaleidoscope_rs::lexer - Rust +
pub struct Lexer<I> where
    I: Iterator<Item = char>, 
{ /* private fields */ }

Implementations

Lex and return the next token.

Implement int gettok(); 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.

-
- +

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

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

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