Sirikata
Functions
liboh/plugins/js/emerson/Util.h File Reference
#include <antlr3.h>
#include <map>
#include <stdio.h>
#include <string>
Include dependency graph for Util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * read_file (const char *)
std::string emerson_escapeSingleQuotes (const char *stringSequence)
std::string emerson_escapeMultiline (const char *stringSequence)
std::string replaceAllInstances (std::string initialString, std::string toReplace, std::string toReplaceWith)
int emerson_init ()
void emerson_printRewriteStream (pANTLR3_REWRITE_RULE_TOKEN_STREAM)
void emerson_createTreeMirrorImage (pANTLR3_BASE_TREE tree)
void emerson_createTreeMirrorImage2 (pANTLR3_BASE_TREE tree)
pANTLR3_STRING emerson_printAST (pANTLR3_BASE_TREE tree, pANTLR3_UINT8 *parserTokenNames)

Function Documentation

void emerson_createTreeMirrorImage ( pANTLR3_BASE_TREE  tree)
void emerson_createTreeMirrorImage2 ( pANTLR3_BASE_TREE  tree)
std::string emerson_escapeMultiline ( const char *  stringSequence)

References replaceAllInstances().

std::string emerson_escapeSingleQuotes ( const char *  stringSequence)

References replaceAllInstances().

int emerson_init ( )
pANTLR3_STRING emerson_printAST ( pANTLR3_BASE_TREE  tree,
pANTLR3_UINT8 *  parserTokenNames 
)

References emerson_printAST().

void emerson_printRewriteStream ( pANTLR3_REWRITE_RULE_TOKEN_STREAM  )
char* read_file ( const char *  )
std::string replaceAllInstances ( std::string  initialString,
std::string  toReplace,
std::string  toReplaceWith 
)