Class: Fdlint::Parser::JS::Program

Inherits:
Element show all
Defined in:
lib/fdlint/parser/js/struct.rb

Overview

The whole program element Javascript files are first parsed into programs.

Instance Attribute Summary

Attributes inherited from Element

#left, #right, #type

Instance Method Summary collapse

Methods inherited from Element

#contains?, #position, #text

Constructor Details

#initialize(elements) ⇒ Program

Returns a new instance of Program.



69
70
71
# File 'lib/fdlint/parser/js/struct.rb', line 69

def initialize(elements)
  super 'program', elements
end