PSLiteralParseNode Class Reference

A parse node for representing literals. More...

Inherits Simba::SQLEngine::PSParseNode.

List of all members.

Public Member Functions

void AcceptVisitor (IParseTreeVisitor &in_visitor)
 Node's Accept method, used to pass a visitor.
virtual PSLiteralParseNodeClone () const
 Creates a clone of this node object.
PSDataType GetDataType () const
 Returns the data type of this node.
PSLiteralType GetLiteralType () const
 Returns the literal type of this identifier.
virtual simba_wstring GetLogString () const
 Returns a string representation of this node.
 PSLiteralParseNode (const PSLiteralParseNode &in_other)
 Copy constructor.
 PSLiteralParseNode (const simba_wstring &in_identifier, PSLiteralType in_idType)
 Constructor.
 ~PSLiteralParseNode ()
 Destructor.

Detailed Description

A parse node for representing literals.

Literals could be string literals, numeric literals, or character literals.


Constructor & Destructor Documentation

PSLiteralParseNode ( const simba_wstring in_identifier,
PSLiteralType  in_idType 
)

Constructor.

Parameters:
in_identifier The identifier associated with this node.
in_idType Literals what type of literal this identifier represents.
PSLiteralParseNode ( const PSLiteralParseNode in_other  ) 

Copy constructor.

To support "cloning". See Clone() method.

Parameters:
in_other The other node from which to create a copy.

Destructor.


Member Function Documentation

void AcceptVisitor ( IParseTreeVisitor in_visitor  )  [virtual]

Node's Accept method, used to pass a visitor.

Parameters:
in_visitor The visitor that is to be used to visit this node.

Implements PSParseNode.

virtual PSLiteralParseNode* Clone (  )  const [virtual]

Creates a clone of this node object.

Returns:
A clone of this node object. (OWN)

Implements PSParseNode.

PSDataType GetDataType (  )  const [virtual]

Returns the data type of this node.

Returns:
PS_DT_LITERAL always.

Implements PSParseNode.

PSLiteralType GetLiteralType (  )  const [virtual]

Returns the literal type of this identifier.

Reimplemented from PSParseNode.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a string representation of this node.

Reimplemented from PSParseNode.


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