Module: OracleSqlParser::Grammar::Expression::CompoundExpression4
- Defined in:
- lib/oracle-sql-parser/grammar/expression.rb
Instance Method Summary collapse
- #ast ⇒ Object
- #left ⇒ Object
- #not_compound_expressions ⇒ Object
- #op ⇒ Object
- #right ⇒ Object
- #right_parenthesis ⇒ Object
Instance Method Details
#ast ⇒ Object
555 556 557 558 559 560 561 562 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 555 def ast OracleSqlParser::Ast::CompoundExpression[ :has_parenthesis => ex.respond_to?(:left_parenthesis) ? true : nil, :left => left.ast, :op => op.ast, :right => right.ast, ] end |
#left ⇒ Object
564 565 566 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 564 def left ex.left if ex.respond_to? :left end |
#not_compound_expressions ⇒ Object
568 569 570 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 568 def not_compound_expressions ex.not_compound_expressions if ex.respond_to? :not_compound_expressions end |
#op ⇒ Object
572 573 574 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 572 def op ex.op if ex.respond_to? :op end |
#right ⇒ Object
576 577 578 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 576 def right ex.right if ex.respond_to? :right end |
#right_parenthesis ⇒ Object
580 581 582 |
# File 'lib/oracle-sql-parser/grammar/expression.rb', line 580 def right_parenthesis ex.right_parenthesis if ex.respond_to? :right_parenthesis end |