Class TokenStreamSequenceToNodeMapping#

Class Documentation#

class TokenStreamSequenceToNodeMapping#

Public Functions

TokenStreamSequenceToNodeMapping(SgNode *n, int input_leading_whitespace_start, int input_leading_whitespace_end, int input_token_subsequence_start, int input_token_subsequence_end, int input_trailing_whitespace_start, int input_trailing_whitespace_end, int input_else_whitespace_start, int input_else_whitespace_end)#
TokenStreamSequenceToNodeMapping(const TokenStreamSequenceToNodeMapping &X)#
void display(std::string label) const#

Public Members

SgNode *node#
int leading_whitespace_start#
int leading_whitespace_end#
int token_subsequence_start#
int token_subsequence_end#
int trailing_whitespace_start#
int trailing_whitespace_end#
int else_whitespace_start#
int else_whitespace_end#
bool shared#
bool constructedInEvaluationOfSynthesizedAttribute#
std::vector<SgNode*> nodeVector#

Public Static Functions

static TokenStreamSequenceToNodeMapping *createTokenInterval(SgSourceFile *sourceFile, SgNode *n, int input_leading_whitespace_start, int input_leading_whitespace_end, int input_token_subsequence_start, int input_token_subsequence_end, int input_trailing_whitespace_start, int input_trailing_whitespace_end, int input_else_whitespace_start, int input_else_whitespace_end)#

Public Static Attributes

static size_t tokenStreamSize#
static std::map<TokenStreamSequenceToNodeMapping_key, TokenStreamSequenceToNodeMapping*> tokenSequencePool#