property RawNode: TLz_Node;
There are two kind class types in sql query object model, one is raw parse tree node, the other is parsed node.
Raw parse tree node is created according to each rule in BNF file. All information during parsing phrase is collected into raw parse tree node.
Some typical raw parse tree nodes are TLz_SelectStmt,
TLz_InsertStmt, TLz_DeleteStmt, TLz_UpdateStmt.
Parsed node is manually created during the analyzing phase, and with more user friendly interface. but may lack of detail information in corresponding raw parse tree node.
Some typical parsed nodes are TSelectSqlStatement, TDeleteSqlStatement, TInsertSqlStatement,TUpdateSqlStatement.
Each parsed node has a corresponding raw parse tree node.
You can always use RawNode property to find out the corresponding raw parse tree node if any.
RawNode of TSelectSqlStatement is TLz_SelectStmt.
Gudu software http://www.sqlparser.com
|
Send comments about this topic.
|