PSParseTreeSqlVisitor Class Reference

Implementation of the IParseTreeVisitor interface. More...

Inherits Simba::SQLEngine::IParseTreeVisitor.

List of all members.

Public Member Functions

virtual simba_wstring GetString ()
 Accessor for the string for the most-recently visited node.
 PSParseTreeSqlVisitor (PSSql92Generator &in_sqlGenerator)
 Constructor.
 PSParseTreeSqlVisitor (PSSql92Generator *in_sqlGenerator)
 Constructor.
virtual void VisitFlagParseNode (PSFlagParseNode *in_node)
 Visit method for PSFlagParseNode* nodes.
virtual void VisitIdentifierParseNode (PSIdentifierParseNode *in_node)
 Visit method for PSIdentifierParseNode* nodes.
virtual void VisitIntervalDataTypeParseNode (PSIntervalDataTypeParseNode *in_node)
 Visit method for PSIntervalDataTypeParseNode* nodes.
virtual void VisitIntervalLiteralParseNode (PSIntervalLiteralParseNode *in_node)
 Visit method for PSIntervalLiteralParseNode* nodes.
virtual void VisitLiteralParseNode (PSLiteralParseNode *in_node)
 Visit method for PSLiteralParseNode* nodes.
virtual void VisitNonTerminalParseNode (PSNonTerminalParseNode *in_node)
 Visit method for PSNonTerminalParseNode* nodes.
virtual void VisitNullParseNode (PSNullParseNode *in_node)
 Visit method for PSNullParseNode* nodes.
virtual void VisitParameterParseNode (PSParameterParseNode *in_node)
 Visit method for PSParameterParseNode* nodes.
virtual void VisitScalarOrAggrFnParseNode (PSScalarOrAggrFnParseNode *in_node)
 Visit method for PSScalarOrAggrFnParseNode* nodes.
virtual ~PSParseTreeSqlVisitor ()
 Destructor.

Detailed Description

Implementation of the IParseTreeVisitor interface.

This visitor is to be used in concert with the ISqlGenerator interface for visiting parse nodes. After each node is visited, GetString() can be used to retrieve the string representing the most-recently visited node.


Constructor & Destructor Documentation

PSParseTreeSqlVisitor ( PSSql92Generator in_sqlGenerator  ) 

Constructor.

Parameters:
in_sqlGenerator The sql generator to use for generating the sql strings for visited nodes. (NOT OWN)
PSParseTreeSqlVisitor ( PSSql92Generator in_sqlGenerator  )  [explicit]

Constructor.

Parameters:
in_sqlGenerator The sql generator to use for generating the sql strings for visited nodes.
virtual ~PSParseTreeSqlVisitor (  )  [virtual]

Destructor.


Member Function Documentation

virtual simba_wstring GetString (  )  [virtual]

Accessor for the string for the most-recently visited node.

Returns:
The string for the most-recently visited node.
virtual void VisitFlagParseNode ( PSFlagParseNode in_node  )  [virtual]

Visit method for PSFlagParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitIdentifierParseNode ( PSIdentifierParseNode in_node  )  [virtual]

Visit method for PSIdentifierParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitIntervalDataTypeParseNode ( PSIntervalDataTypeParseNode in_node  )  [virtual]

Visit method for PSIntervalDataTypeParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitIntervalLiteralParseNode ( PSIntervalLiteralParseNode in_node  )  [virtual]

Visit method for PSIntervalLiteralParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitLiteralParseNode ( PSLiteralParseNode in_node  )  [virtual]

Visit method for PSLiteralParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitNonTerminalParseNode ( PSNonTerminalParseNode in_node  )  [virtual]

Visit method for PSNonTerminalParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitNullParseNode ( PSNullParseNode in_node  )  [virtual]

Visit method for PSNullParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitParameterParseNode ( PSParameterParseNode in_node  )  [virtual]

Visit method for PSParameterParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.

virtual void VisitScalarOrAggrFnParseNode ( PSScalarOrAggrFnParseNode in_node  )  [virtual]

Visit method for PSScalarOrAggrFnParseNode* nodes.

Parameters:
in_node The node to visit. (NOT OWN)

Implements IParseTreeVisitor.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba