class Nasl::Repetition

Attributes

call[R]
expr[R]

Public Class Methods

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

  @call = tokens[0]
  @expr = tokens[2]

  @children << :call
  @children << :expr
end