class Nasl::Lvalue

Attributes

ident[R]
indexes[R]

Public Class Methods

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

  @ident = @tokens.first
  @indexes = if @tokens.length == 2 then tokens.last else [] end

  @children << :ident
  @children << :indexes
end