class Drizzle::AST::ExpressionStatement

Overview

Node representing an expression statement, which is a single expression on its own line <expression>

Defined in:

drizzle/ast/expression_statement.cr

Constructors

Instance Method Summary

Instance methods inherited from class Drizzle::AST::Node

literal : String literal, to_s : String to_s

Constructor Detail

def self.new(token, expression) #

[View source]

Instance Method Detail

def expression : Drizzle::AST::Expression? #

The expression that makes up the node


[View source]
def literal : String #

[View source]
def to_s : String #

[View source]
def token : Drizzle::Token #

The token that caused the generation of this node


[View source]