0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Classes | Typedefs | Enumerations
ClusterDefinition

Classes for compiling a cluster definition file. More...

Collaboration diagram for ClusterDefinition:

Namespaces

 Hypertable::ClusterDefinitionFile::TokenizerTools
 Tools to help cluster definition file tokenization.
 

Classes

class  Hypertable::ClusterDefinitionFile::Compiler
 Compiles a cluster definition file into an executable bash script. More...
 
class  Hypertable::ClusterDefinitionFile::ToJson
 Compiles a cluster definition file into an executable bash script. More...
 
class  Hypertable::ClusterDefinitionFile::Token
 Cluster definition file token. More...
 
class  Hypertable::ClusterDefinitionFile::Tokenizer
 Splits cluster definition file into tokens. More...
 
class  Hypertable::ClusterDefinitionFile::TranslationContext
 Context used to translate cluster definition statements. More...
 
class  Hypertable::ClusterDefinitionFile::Translator
 Abstract base class for translators. More...
 
class  Hypertable::ClusterDefinitionFile::TranslatorCode
 Translates a code block. More...
 
class  Hypertable::ClusterDefinitionFile::TranslatorRole
 Translates a role definition. More...
 
class  Hypertable::ClusterDefinitionFile::TranslatorTask
 Translates a task definition. More...
 
class  Hypertable::ClusterDefinitionFile::TranslatorVariable
 Translates a variable definition. More...
 

Typedefs

typedef shared_ptr< Tokenizer > Hypertable::ClusterDefinitionFile::TokenizerPtr
 Smart pointer to Tokenizer. More...
 
typedef shared_ptr< Translator > Hypertable::ClusterDefinitionFile::TranslatorPtr
 Smart pointer to Translator. More...
 

Enumerations

enum  Hypertable::ClusterDefinitionFile::Token::Type {
  Hypertable::ClusterDefinitionFile::Token::NONE =0, Hypertable::ClusterDefinitionFile::Token::INCLUDE, Hypertable::ClusterDefinitionFile::Token::VARIABLE, Hypertable::ClusterDefinitionFile::Token::ROLE,
  Hypertable::ClusterDefinitionFile::Token::TASK, Hypertable::ClusterDefinitionFile::Token::FUNCTION, Hypertable::ClusterDefinitionFile::Token::CONTROLFLOW, Hypertable::ClusterDefinitionFile::Token::COMMENT,
  Hypertable::ClusterDefinitionFile::Token::CODE, Hypertable::ClusterDefinitionFile::Token::BLANKLINE
}
 Enumeration for token types. More...
 

Detailed Description

Classes for compiling a cluster definition file.

Typedef Documentation

typedef shared_ptr<Tokenizer> Hypertable::ClusterDefinitionFile::TokenizerPtr

Smart pointer to Tokenizer.

Definition at line 123 of file Tokenizer.h.

typedef shared_ptr<Translator> Hypertable::ClusterDefinitionFile::TranslatorPtr

Smart pointer to Translator.

Definition at line 54 of file Translator.h.

Enumeration Type Documentation

Enumeration for token types.

Enumerator
NONE 

none

INCLUDE 

include: statement

VARIABLE 

variable defintion

ROLE 

role: statement

TASK 

task: statement

FUNCTION 

function defintion

CONTROLFLOW 

control flow statement

COMMENT 

comment block

CODE 

code block

BLANKLINE 

blank line

Definition at line 46 of file Token.h.