Class: VCDOM::XPath::Internal::AbstractExpr

Inherits:
Array
  • Object
show all
Defined in:
lib/vcdom/xpath/internal/expr.rb

Overview

:nodoc:

Direct Known Subclasses

AndExpr, EqualityExpr, OrExpr

Instance Method Summary collapse

Constructor Details

#initialize(*expr_elems) ⇒ AbstractExpr

Returns a new instance of AbstractExpr.



6
7
8
9
10
# File 'lib/vcdom/xpath/internal/expr.rb', line 6

def initialize( *expr_elems )
  expr_elems.each do |e|
    self << e
  end
end

Instance Method Details

#is_command?Boolean

Returns:

  • (Boolean)


14
# File 'lib/vcdom/xpath/internal/expr.rb', line 14

def is_command?; false end

#is_expr?Boolean

Returns:

  • (Boolean)


13
# File 'lib/vcdom/xpath/internal/expr.rb', line 13

def is_expr?;    true  end

#is_value?Boolean

Returns:

  • (Boolean)


12
# File 'lib/vcdom/xpath/internal/expr.rb', line 12

def is_value?;   false end