class Nasl::List

Attributes

elems[R]

Public Class Methods

new(tree, *tokens) click to toggle source
Calls superclass method
# File lib/nasl/parser/list.rb, line 33
def initialize(tree, *tokens)
  super

  @elems = if @tokens[1].is_a? ::Array then @tokens[1] else [] end

  @children << :elems
end