use of org.eclipse.emf.ecore.EObject in project mechanoid by robotoworks.
the class InternalSqliteModelParser method entryRuleDropIndexStatement.
// $ANTLR end "ruleCreateIndexStatement"
// $ANTLR start "entryRuleDropIndexStatement"
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4785:1: entryRuleDropIndexStatement returns [EObject current=null] : iv_ruleDropIndexStatement= ruleDropIndexStatement EOF ;
public final EObject entryRuleDropIndexStatement() throws RecognitionException {
EObject current = null;
EObject iv_ruleDropIndexStatement = null;
try {
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4786:2: (iv_ruleDropIndexStatement= ruleDropIndexStatement EOF )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4787:2: iv_ruleDropIndexStatement= ruleDropIndexStatement EOF
{
if (state.backtracking == 0) {
newCompositeNode(grammarAccess.getDropIndexStatementRule());
}
pushFollow(FOLLOW_ruleDropIndexStatement_in_entryRuleDropIndexStatement10387);
iv_ruleDropIndexStatement = ruleDropIndexStatement();
state._fsp--;
if (state.failed)
return current;
if (state.backtracking == 0) {
current = iv_ruleDropIndexStatement;
}
match(input, EOF, FOLLOW_EOF_in_entryRuleDropIndexStatement10397);
if (state.failed)
return current;
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project mechanoid by robotoworks.
the class InternalSqliteModelParser method ruleUpdateColumnExpression.
// $ANTLR end "entryRuleUpdateColumnExpression"
// $ANTLR start "ruleUpdateColumnExpression"
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6131:1: ruleUpdateColumnExpression returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleSqlExpression ) ) ) ;
public final EObject ruleUpdateColumnExpression() throws RecognitionException {
EObject current = null;
Token otherlv_0 = null;
Token otherlv_1 = null;
EObject lv_expression_2_0 = null;
enterRule();
try {
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6134:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleSqlExpression ) ) ) )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6135:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleSqlExpression ) ) )
{
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6135:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleSqlExpression ) ) )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6135:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleSqlExpression ) )
{
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6135:2: ( (otherlv_0= RULE_ID ) )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6136:1: (otherlv_0= RULE_ID )
{
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6136:1: (otherlv_0= RULE_ID )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6137:3: otherlv_0= RULE_ID
{
if (state.backtracking == 0) {
if (current == null) {
current = createModelElement(grammarAccess.getUpdateColumnExpressionRule());
}
}
otherlv_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUpdateColumnExpression13373);
if (state.failed)
return current;
if (state.backtracking == 0) {
newLeafNode(otherlv_0, grammarAccess.getUpdateColumnExpressionAccess().getColumnNameColumnDefCrossReference_0_0());
}
}
}
otherlv_1 = (Token) match(input, 41, FOLLOW_41_in_ruleUpdateColumnExpression13385);
if (state.failed)
return current;
if (state.backtracking == 0) {
newLeafNode(otherlv_1, grammarAccess.getUpdateColumnExpressionAccess().getEqualsSignKeyword_1());
}
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6152:1: ( (lv_expression_2_0= ruleSqlExpression ) )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6153:1: (lv_expression_2_0= ruleSqlExpression )
{
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6153:1: (lv_expression_2_0= ruleSqlExpression )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:6154:3: lv_expression_2_0= ruleSqlExpression
{
if (state.backtracking == 0) {
newCompositeNode(grammarAccess.getUpdateColumnExpressionAccess().getExpressionSqlExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleSqlExpression_in_ruleUpdateColumnExpression13406);
lv_expression_2_0 = ruleSqlExpression();
state._fsp--;
if (state.failed)
return current;
if (state.backtracking == 0) {
if (current == null) {
current = createModelElementForParent(grammarAccess.getUpdateColumnExpressionRule());
}
set(current, "expression", lv_expression_2_0, "SqlExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
if (state.backtracking == 0) {
leaveRule();
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project mechanoid by robotoworks.
the class InternalSqliteModelParser method entryRuleSelectExpression.
// $ANTLR end "ruleSelectCore"
// $ANTLR start "entryRuleSelectExpression"
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:2586:1: entryRuleSelectExpression returns [EObject current=null] : iv_ruleSelectExpression= ruleSelectExpression EOF ;
public final EObject entryRuleSelectExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleSelectExpression = null;
try {
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:2587:2: (iv_ruleSelectExpression= ruleSelectExpression EOF )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:2588:2: iv_ruleSelectExpression= ruleSelectExpression EOF
{
if (state.backtracking == 0) {
newCompositeNode(grammarAccess.getSelectExpressionRule());
}
pushFollow(FOLLOW_ruleSelectExpression_in_entryRuleSelectExpression5521);
iv_ruleSelectExpression = ruleSelectExpression();
state._fsp--;
if (state.failed)
return current;
if (state.backtracking == 0) {
current = iv_ruleSelectExpression;
}
match(input, EOF, FOLLOW_EOF_in_entryRuleSelectExpression5531);
if (state.failed)
return current;
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project mechanoid by robotoworks.
the class InternalSqliteModelParser method entryRuleCreateViewStatement.
// $ANTLR end "ruleCreateTableStatement"
// $ANTLR start "entryRuleCreateViewStatement"
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:3962:1: entryRuleCreateViewStatement returns [EObject current=null] : iv_ruleCreateViewStatement= ruleCreateViewStatement EOF ;
public final EObject entryRuleCreateViewStatement() throws RecognitionException {
EObject current = null;
EObject iv_ruleCreateViewStatement = null;
try {
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:3963:2: (iv_ruleCreateViewStatement= ruleCreateViewStatement EOF )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:3964:2: iv_ruleCreateViewStatement= ruleCreateViewStatement EOF
{
if (state.backtracking == 0) {
newCompositeNode(grammarAccess.getCreateViewStatementRule());
}
pushFollow(FOLLOW_ruleCreateViewStatement_in_entryRuleCreateViewStatement8564);
iv_ruleCreateViewStatement = ruleCreateViewStatement();
state._fsp--;
if (state.failed)
return current;
if (state.backtracking == 0) {
current = iv_ruleCreateViewStatement;
}
match(input, EOF, FOLLOW_EOF_in_entryRuleCreateViewStatement8574);
if (state.failed)
return current;
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project mechanoid by robotoworks.
the class InternalSqliteModelParser method entryRuleAlterTableRenameStatement.
// $ANTLR end "ruleCreateTriggerStatement"
// $ANTLR start "entryRuleAlterTableRenameStatement"
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4353:1: entryRuleAlterTableRenameStatement returns [EObject current=null] : iv_ruleAlterTableRenameStatement= ruleAlterTableRenameStatement EOF ;
public final EObject entryRuleAlterTableRenameStatement() throws RecognitionException {
EObject current = null;
EObject iv_ruleAlterTableRenameStatement = null;
try {
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4354:2: (iv_ruleAlterTableRenameStatement= ruleAlterTableRenameStatement EOF )
// ../com.robotoworks.mechanoid.db/src-gen/com/robotoworks/mechanoid/db/parser/antlr/internal/InternalSqliteModel.g:4355:2: iv_ruleAlterTableRenameStatement= ruleAlterTableRenameStatement EOF
{
if (state.backtracking == 0) {
newCompositeNode(grammarAccess.getAlterTableRenameStatementRule());
}
pushFollow(FOLLOW_ruleAlterTableRenameStatement_in_entryRuleAlterTableRenameStatement9378);
iv_ruleAlterTableRenameStatement = ruleAlterTableRenameStatement();
state._fsp--;
if (state.failed)
return current;
if (state.backtracking == 0) {
current = iv_ruleAlterTableRenameStatement;
}
match(input, EOF, FOLLOW_EOF_in_entryRuleAlterTableRenameStatement9388);
if (state.failed)
return current;
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
Aggregations