class RbGCCXML::Function

Represents a <Function> node, a global or namespaced function or static class functions.

Public Instance Methods

arguments() click to toggle source

Get the list of Arguments for this Function.

# File lib/rbgccxml/nodes/function.rb, line 15
def arguments
  QueryResult.new children
end
return_type() click to toggle source

Get the Node representing this Function’s return type

# File lib/rbgccxml/nodes/function.rb, line 20
def return_type
  NodeCache.find(attributes["returns"])
end