class Pione::Lang::DataExprNull

DataExprNull is a data exppresion that accepts data nonexistence.

Public Instance Methods

accept_nonexistence?() click to toggle source
# File lib/pione/lang/data-expr.rb, line 79
def accept_nonexistence?
  true
end
eval(env) click to toggle source

Evaluate the data expression. The result is myself.

# File lib/pione/lang/data-expr.rb, line 84
def eval(env)
  self
end
match(name) click to toggle source
# File lib/pione/lang/data-expr.rb, line 75
def match(name)
  nil
end