Class: Mirah::AST::StaticMethodDefinition

Inherits:
MethodDefinition show all
Defined in:
lib/mirah/ast/method.rb

Instance Attribute Summary

Attributes inherited from MethodDefinition

#abstract, #defining_class, #exceptions, #return_type, #visibility

Attributes included from Scope

#static_scope, #type_scope

Attributes included from Named

#name

Attributes included from Annotated

#annotations

Attributes inherited from Node

#children, #inferred_type, #newline, #parent, #position

Instance Method Summary collapse

Methods inherited from MethodDefinition

#abstract?, #compile, #infer, #initialize, #name, #resolve_if

Methods included from Binding

#binding_type, #binding_type=, #has_binding?

Methods included from ClassScoped

#class_scope

Methods included from Scoped

#containing_scope, #scope

Methods included from Named

#string_value, #to_s, #validate_name

Methods included from Annotated

#annotation

Methods inherited from Node

#<<, ===, #[], #[]=, #_dump, _load, #_set_parent, child, child_name, #child_nodes, #each, #empty?, #expr?, #inferred_type!, #initialize, #initialize_copy, #insert, #inspect, #inspect_children, #line_number, #log, #precompile, #resolve_if, #resolved!, #resolved?, #simple_name, #string_value, #temp, #to_s, #top_level?, #validate_child, #validate_children

Constructor Details

This class inherits a constructor from Mirah::AST::MethodDefinition

Instance Method Details

#static?Boolean

Returns:



328
329
330
# File 'lib/mirah/ast/method.rb', line 328

def static?
  true
end