Class: EbnfExpression::Constructor

Inherits:
Method
  • Object
show all
Defined in:
lib/pdoc/parser/ebnf_expression_nodes.rb

Instance Method Summary collapse

Methods inherited from Method

#arguments, #methodized?

Methods inherited from Base

#inspect, #klass_name, #namespace, #to_s

Instance Method Details

#full_nameObject



117
118
119
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 117

def full_name
  "new #{super}"
end

#nameObject



113
114
115
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 113

def name
  "new"
end

#returnsObject



121
122
123
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 121

def returns
  nil
end

#signatureObject



125
126
127
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 125

def signature
  "#{full_name}#{args.text_value}"
end