class BELParser::Language::Semantics::SemanticIsNil
Public Class Methods
new(**properties)
click to toggle source
Calls superclass method
BELParser::Language::Semantics::SemanticASTNode::new
# File lib/bel_parser/language/semantics_ast.rb, line 494 def initialize(**properties) super(:is_nil, [], properties) end
Public Instance Methods
match(parse_node, spec, will_match_partial = false)
click to toggle source
# File lib/bel_parser/language/semantics_ast.rb, line 502 def match(parse_node, spec, will_match_partial = false) if parse_node.nil? success(parse_node, spec) else not_nil_node_warning(parse_node, spec) end end
terminal?()
click to toggle source
# File lib/bel_parser/language/semantics_ast.rb, line 498 def terminal? true end