#include "compiler.h"
#include "tree.h"
#include "../utils/FormatableString.h"
#include <memory>
#include <valarray>
#include <iostream>
#include <cassert>
Go to the source code of this file.
Namespaces | |
namespace | Aseba |
Defines | |
#define | EXPECT_ONE_OF(array) (expectOneOf<sizeof(array)/sizeof(Token::Type)>(array)) |
#define | IS_ONE_OF(array) (isOneOf<sizeof(array)/sizeof(Token::Type)>(array)) |
Functions | |
template<typename Derived , typename Base > | |
static Derived | polymorphic_downcast (Base base) |
#define EXPECT_ONE_OF | ( | array | ) | (expectOneOf<sizeof(array)/sizeof(Token::Type)>(array)) |
Definition at line 33 of file parser.cpp.
#define IS_ONE_OF | ( | array | ) | (isOneOf<sizeof(array)/sizeof(Token::Type)>(array)) |
Definition at line 32 of file parser.cpp.
static Derived polymorphic_downcast | ( | Base | base | ) | [inline, static] |
Definition at line 37 of file parser.cpp.