class BELParser::Language::Semantics::SemanticVariadicArguments
Public Class Methods
new(children = [], **properties)
click to toggle source
Calls superclass method
BELParser::Language::Semantics::SemanticASTNode::new
# File lib/bel_parser/language/semantics_ast.rb, line 402 def initialize(children = [], **properties) super(:variadic_arguments, children, 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 406 def match(parse_node, spec, will_match_partial = false) return nil_node_warning( parse_node, spec, BELParser::Parsers::AST::Argument) if parse_node.nil? if parse_node.type == BELParser::Parsers::AST::Argument.ast_type success(parse_node, spec) else type_warning( parse_node, spec, BELParser::Parsers::AST::Argument, parse_node) end end