Class: C::PrefixExpression
- Inherits:
-
Object
- Object
- C::PrefixExpression
- Defined in:
- lib/csquare.rb
Instance Method Summary collapse
- #prefixed_literal? ⇒ Boolean
- #prefixed_variable? ⇒ Boolean
- #return_typename(function, blueprint) ⇒ Object
Instance Method Details
#prefixed_literal? ⇒ Boolean
563 564 565 |
# File 'lib/csquare.rb', line 563 def prefixed_literal? self.expr.Literal? || self.expr.prefixed_literal? end |
#prefixed_variable? ⇒ Boolean
567 568 569 |
# File 'lib/csquare.rb', line 567 def prefixed_variable? self.expr.Variable? || self.expr.prefixed_variable? end |
#return_typename(function, blueprint) ⇒ Object
571 572 573 574 |
# File 'lib/csquare.rb', line 571 def return_typename function, blueprint return :boolean if self.Not? self.expr.return_typename function, blueprint end |