class Nasl::For

Attributes

body[R]
cond[R]
each[R]
init[R]

Public Class Methods

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

  @init = @tokens[2]
  @cond = @tokens[4]
  @each = @tokens[6]
  @body = @tokens[8]

  @children << :init
  @children << :cond
  @children << :each
  @children << :body
end