class BELParser::Parsers::AST::Function
AST
node representing the function of a BEL
term.
Special node properties - return_type: {#return_type}¶ ↑
Attributes
return_type[R]
Get the return type property.
Public Class Methods
new(children = [], properties = {})
click to toggle source
@see Node#initialize Node
class for basic properties
Calls superclass method
BELParser::Parsers::AST::Node::new
# File lib/bel_parser/parsers/ast/node.rb, line 287 def initialize(children = [], properties = {}) super(Function.ast_type, children, properties) end
Public Instance Methods
identifier()
click to toggle source
Get the function's identifier.
# File lib/bel_parser/parsers/ast/node.rb, line 292 def identifier children[0] end