class Nasl::Repeat

Attributes

body[R]
cond[R]

Public Class Methods

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

  @body = @tokens[1]
  @cond = @tokens[3]

  @children << :body
  @children << :cond
end