class Nasl::Token
Attributes
body[R]
ctx[R]
name[R]
region[R]
type[R]
Public Class Methods
new(type, body, region, ctx)
click to toggle source
# File lib/nasl/token.rb, line 31 def initialize(type, body, region, ctx) @type = type @body = body @region = region @ctx = ctx end
Public Instance Methods
context(*args)
click to toggle source
# File lib/nasl/token.rb, line 38 def context(*args) @ctx.context(@region, *args) end
to_s()
click to toggle source
# File lib/nasl/token.rb, line 66 def to_s @body end