class Nasl::While

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/while.rb, line 33
def initialize(tree, *tokens)
  super

  @cond = @tokens[2]
  @body = @tokens[4]

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