PSIdentifierParseNode Class Reference

PSIdentifierParseNodes represent PSParseNodes that have identifiers associated with them. 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 PSIdentifierParseNodeClone () const
 Creates a clone of this node object.
virtual PSDataType GetDataType () const
 Returns the data type of this node.
virtual simba_wstring GetLogString () const
 Returns a log string representation of this node.
bool IsQuoted () const
 Return whether this node represents a quoted identifier.
 PSIdentifierParseNode (const PSIdentifierParseNode &in_other)
 Copy constructor.
 PSIdentifierParseNode (const simba_wstring &in_identifier, bool in_isQuoted=true)
 Constructor.
 ~PSIdentifierParseNode ()
 Destructor.

Detailed Description

PSIdentifierParseNodes represent PSParseNodes that have identifiers associated with them.

Identifiers could be string literals, numeric literals, or character literals. It is the parent parse nodes that identify what PSIdentifierParseNodes represent. For example, a PS_NT_TABLE_REFERENCE_LIST node may have a child PSIdentifierParseNode. In this context, the identifier is a table name/alias.


Constructor & Destructor Documentation

PSIdentifierParseNode ( const simba_wstring in_identifier,
bool  in_isQuoted = true 
)

Constructor.

Parameters:
in_identifier The identifier associated with this node.
in_isQuoted Whether the node represents a quoted SQL identifier. The default value is true.
PSIdentifierParseNode ( const PSIdentifierParseNode 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 PSIdentifierParseNode* Clone (  )  const [virtual]

Creates a clone of this node object.

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

Implements PSParseNode.

virtual PSDataType GetDataType (  )  const [virtual]

Returns the data type of this node.

Returns:
PS_DT_IDENTIFIER always.

Implements PSParseNode.

virtual simba_wstring GetLogString (  )  const [virtual]

Returns a log string representation of this node.

Returns:
A log string representation of this node.

Reimplemented from PSParseNode.

bool IsQuoted (  )  const [virtual]

Return whether this node represents a quoted identifier.

This may be used, for example, to translate parse nodes to a SQL dialect where whether an identifier is quoted or not determines case sensitivity.

Returns:
Whether this node represents a quoted identifier.

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