diff --git a/docs/html/_a_s_t_node_8cpp.html b/docs/html/_a_s_t_node_8cpp.html new file mode 100644 index 0000000..4a90466 --- /dev/null +++ b/docs/html/_a_s_t_node_8cpp.html @@ -0,0 +1,102 @@ + + +
+ + + + +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "Arguments.h"
#include "Error.h"
#include "tclap/CmdLine.h"
#include "utils.h"
#include "llvm/Support/Host.h"
+Macros | |
#define | benchmark(message) __benchmark_impl __benchmark_impl_timer(message) |
#define benchmark | +( | ++ | message | ) | +__benchmark_impl __benchmark_impl_timer(message) | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Classes | |
struct | Arguments |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "ExprNode.h"
Go to the source code of this file.
++Classes | |
class | BinaryOpNode |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "Error.h"
#include "Importer.h"
#include "utils.h"
#include <algorithm>
#include <iostream>
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "Location.h"
Go to the source code of this file.
++Namespaces | |
Error | |
+Functions | |
void | Error::show_import_line (const Location &loc, std::ostream &output_stream) |
void | Error::throw_error (const Location &loc, const std::string line_text, const std::string &details) |
void | Error::throw_error_without_location (const std::string &details) |
void | Error::throw_warning (const Location &loc, const std::string line_text, const std::string &details) |
void | Error::show_import_lines (const Location &loc, void(*import_line_printer)(const Location &, std::ostream &), std::ostream &stream) |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "FileIO.h"
#include "Error.h"
#include "sapphirepch.h"
#include <cstring>
#include <errno.h>
#include <filesystem>
#include <fstream>
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "sapphirepch.h"
Go to the source code of this file.
++Namespaces | |
FileIO | |
+Functions | |
std::string | FileIO::read_all (const std::string &filename) |
void | FileIO::write_all (const std::string &filename, const std::string &contents) |
std::string | FileIO::remove_file_extension (const std::string &filename) |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include <memory>
#include <string>
#include <cstdio>
Go to the source code of this file.
++Functions | |
template<typename T > | |
auto | convert (T &&t) |
template<typename... Args> | |
std::string | format_string_internal (const std::string &format, Args &&... args) |
template<typename... Args> | |
std::string | format_string (const std::string &format, Args &&... args) |
auto convert | +( | +T && | +t | ) | ++ |
std::string format_string | +( | +const std::string & | +format, | +
+ | + | Args &&... | +args | +
+ | ) | ++ |
std::string format_string_internal | +( | +const std::string & | +format, | +
+ | + | Args &&... | +args | +
+ | ) | ++ |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "Importer.h"
#include "Arguments.h"
#include "Error.h"
#include "FileIO.h"
#include "sapphirepch.h"
#include "utils.h"
#include <fstream>
+Macros | |
#define | MAX_IMPORTS 100 |
#define MAX_IMPORTS 100 | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Namespaces | |
Importer | |
+Functions | |
TokenStream | Importer::evaluate (const TokenStream &original) |
void | Importer::init (std::string init_file) |
+Variables | |
int | Importer::import_count = 0 |
std::vector< std::shared_ptr< Location > > | Importer::import_stack |
std::vector< std::string > | Importer::imported_files |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+Macros | |
#define | WHITESPACE "\t \n" |
#define | LETTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_" |
#define | IDENTIFIERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_0123456789" |
#define | DIGITS "0123456789" |
#define DIGITS "0123456789" | +
#define IDENTIFIERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_0123456789" | +
#define LETTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_" | +
#define WHITESPACE "\t \n" | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Classes | |
class | Lexer |
+Macros | |
#define | TYPE_COUNT 14 |
+Typedefs | |
typedef std::vector< Token > | TokenStream |
#define TYPE_COUNT 14 | +
typedef std::vector<Token> TokenStream | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "sapphirepch.h"
Go to the source code of this file.
++Classes | |
struct | Location |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Namespaces | |
Normalizer | |
+Functions | |
TokenStream | Normalizer::normalize (const TokenStream &input) |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Classes | |
class | NumberNode |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Classes | |
class | Parser |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
#include "ExprNode.h"
Go to the source code of this file.
++Classes | |
class | StatementNode |
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+ sapphirec
+
+ The Sapphire documentation
+ |
+
+Variables | |
const std::string | token_strings [] |
const std::string token_strings[] | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
Go to the source code of this file.
++Classes | |
struct | Token |
+Typedefs | |
typedef std::vector< Token > | TokenStream |
+Enumerations | |
enum | TokenType { + TT_Identifier +, TT_Number +, TT_Float +, TT_Keyword +, + TT_String +, TT_Plus +, TT_Minus +, TT_Mul +, + TT_Div +, TT_At +, TT_Equal +, TT_LessThan +, + TT_GreaterThan +, TT_LParen +, TT_RParen +, TT_LBracket +, + TT_RBracket +, TT_Semicolon +, TT_LoadedString +, TT_EOF +, + TT_Null +, TT_Equals +, TT_GTE +, TT_LTE +, + TT_Period +, TT_Comma +, TT_Path +, TT_Exclamation +, + TT_NEqual +, TT_LSQB +, TT_RSQB +, TT_Type +, + TT_Import +, TT_Syscall0 +, TT_Syscall1 +, TT_Syscall2 +, + TT_Syscall3 +, TT_Syscall4 +, TT_Syscall5 +, TT_CompilerMacro + + } |
+Variables | |
const std::string | token_strings [] |
typedef std::vector<Token> TokenStream | +
enum TokenType | +
+
|
+ +extern | +
+ sapphirec
+
+ The Sapphire documentation
+ |
+
C__benchmark_impl | |
CArguments | |
CLexer | |
CLocation | |
CParser | |
CToken | |
CArguments | |
CASTNode | |
CBinaryOpNode | |
CExprNode | |
CLexer | |
CLocation | |
CMulNode | |
CNumberNode | |
CParser | |
CStatementNode | |
CSumNode | |
CToken |