class Omnium::Parser::AST::VariableDeclaration

Representative of the declaration of a variable, containing a reference to the variable identifier_node and it's data type.

Attributes

data_type[R]
identifier[R]

Public Class Methods

new(identifier, data_type) click to toggle source
# File lib/omnium/parser/ast/variable_declaration.rb, line 11
def initialize(identifier, data_type)
  @identifier = identifier
  @data_type = data_type
end