Cosmo::AST::Node
Instance methods
end_location
Sourceend_location=(end_location : Location | Nil)
Sourcesingle_expression
It yields itself for any node, but if it's a
Statement::ExpressionList, then it returns the
first node of the ExpressionList statement
single_expression?
It yields nil always for any regular node.
(It is overridden by ExpressionList to implement #single_expression.)
start_location
Sourcestart_location=(start_location : Location | Nil)
Sourcetoken
Sourcevisibility
Sourcevisibility=(visibility : Cosmo::AST::Visibility)
Source