/opt/ros/diamondback/stacks/ethzasl_aseba/asebaros/aseba/svn/compiler/parser.cpp File Reference

#include "compiler.h"
#include "tree.h"
#include "../utils/FormatableString.h"
#include <memory>
#include <valarray>
#include <iostream>
#include <cassert>
Include dependency graph for parser.cpp:

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 Documentation

#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.


Function Documentation

template<typename Derived , typename Base >
static Derived polymorphic_downcast ( Base  base  )  [inline, static]

Definition at line 37 of file parser.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:41:55 2011