Class: BELParser::Completion::FunctionArgumentCompleter
- Inherits:
-
FunctionCompleter
- Object
- BaseCompleter
- FunctionCompleter
- BELParser::Completion::FunctionArgumentCompleter
- Defined in:
- lib/bel_parser/completion.rb
Instance Method Summary collapse
Methods inherited from FunctionCompleter
Methods inherited from BaseCompleter
Methods included from Parsers::AST::Sexp
#annotation_definition, #argument, #blank_line, build, #comment, #comment_line, #document_property, #domain, #function, #identifier, #keyword, #list, #list_item, #multi_identifier, #name, #namespace_definition, #nested_statement, #object, #observed_term, #parameter, #pattern, #prefix, #relationship, #set, #simple_statement, #statement, #string, #subject, #term, #unset, #uri, #url, #value
Constructor Details
This class inherits a constructor from BELParser::Completion::BaseCompleter
Instance Method Details
#make_completion(function) ⇒ Object
656 657 658 659 660 661 662 663 664 665 |
# File 'lib/bel_parser/completion.rb', line 656 def make_completion(function) [ function, argument( term( function( identifier( function.short.to_s)))) ] end |