abstract class Can::AST::Node

Overview

Base class for every parsed node.

#line and #column point at the node's source location when available.

Direct Known Subclasses

Defined in:

can/ast.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(line : Int32 = 0, column : Int32 = 0) #

[View source]

Instance Method Detail

def column : Int32 #

[View source]
def column=(column : Int32) #

[View source]
def line : Int32 #

[View source]
def line=(line : Int32) #

[View source]