Class: EbnfExpression::Method
- Inherits:
-
Base
- Object
- Treetop::Runtime::SyntaxNode
- Base
- EbnfExpression::Method
show all
- Defined in:
- lib/pdoc/parser/ebnf_expression_nodes.rb
Instance Method Summary
collapse
Methods inherited from Base
#full_name, #inspect, #klass_name, #name, #namespace, #returns, #to_s
Instance Method Details
#arguments ⇒ Object
33
34
35
|
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 33
def arguments
args.arguments.to_a
end
|
#methodized? ⇒ Boolean
37
38
39
|
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 37
def methodized?
false
end
|
#signature ⇒ Object
41
42
43
|
# File 'lib/pdoc/parser/ebnf_expression_nodes.rb', line 41
def signature
"#{name}#{args.text_value}"
end
|