class Nasl::Foreach

Attributes

body[R]
expr[R]
iter[R]

Public Class Methods

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

  @iter = @tokens[1]
  @expr = @tokens[2]
  @body = @tokens[3]

  @children << :iter
  @children << :expr
  @children << :body
end