version 1.1.2.7, 2001/12/03 00:08:00
|
version 1.1.2.9, 2001/12/12 17:45:52
|
|
|
selectList | selectList |
: '*' | : '*' |
{ | { |
globalParserState->statement->appendPropertyName("*"); |
globalParserState->statement->appendSelectPropertyName("*"); |
} | } |
| propertyList | | propertyList |
{ | { |
|
|
propertyList | propertyList |
: propertyName | : propertyName |
{ | { |
globalParserState->statement->appendPropertyName($1); |
globalParserState->statement->appendSelectPropertyName($1); |
} | } |
| propertyList ',' propertyName | | propertyList ',' propertyName |
{ | { |
globalParserState->statement->appendPropertyName($3); |
globalParserState->statement->appendSelectPropertyName($3); |
} | } |
| |
selectExpression | selectExpression |
|
|
: propertyName | : propertyName |
{ | { |
globalParserState->statement->appendOperand( | globalParserState->statement->appendOperand( |
WQLOperand($1, WQLOperand::PROPERTY_NAME_TAG)); |
WQLOperand($1, WQL_PROPERTY_NAME_TAG)); |
|
globalParserState->statement->appendWherePropertyName($1); |
} | } |
| TOK_INTEGER | | TOK_INTEGER |
{ | { |
globalParserState->statement->appendOperand( | globalParserState->statement->appendOperand( |
WQLOperand($1, WQLOperand::INTEGER_VALUE_TAG)); |
WQLOperand($1, WQL_INTEGER_VALUE_TAG)); |
} | } |
| TOK_DOUBLE | | TOK_DOUBLE |
{ | { |
globalParserState->statement->appendOperand( | globalParserState->statement->appendOperand( |
WQLOperand($1, WQLOperand::DOUBLE_VALUE_TAG)); |
WQLOperand($1, WQL_DOUBLE_VALUE_TAG)); |
} | } |
| TOK_STRING | | TOK_STRING |
{ | { |
globalParserState->statement->appendOperand( | globalParserState->statement->appendOperand( |
WQLOperand($1, WQLOperand::STRING_VALUE_TAG)); |
WQLOperand($1, WQL_STRING_VALUE_TAG)); |
} | } |
| truthValue | | truthValue |
{ | { |
globalParserState->statement->appendOperand( | globalParserState->statement->appendOperand( |
WQLOperand($1 != 0, WQLOperand::BOOLEAN_VALUE_TAG)); |
WQLOperand($1 != 0, WQL_BOOLEAN_VALUE_TAG)); |
} | } |
| |
%% | %% |