summaryrefslogtreecommitdiff
path: root/test/scanners/ruby/example.expected.raydebug
diff options
context:
space:
mode:
Diffstat (limited to 'test/scanners/ruby/example.expected.raydebug')
-rw-r--r--test/scanners/ruby/example.expected.raydebug38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/scanners/ruby/example.expected.raydebug b/test/scanners/ruby/example.expected.raydebug
index 0bcb704..3b3ae57 100644
--- a/test/scanners/ruby/example.expected.raydebug
+++ b/test/scanners/ruby/example.expected.raydebug
@@ -914,7 +914,7 @@ reserved(class) class(Rweb)
instance_variable(@output_allowed) operator(=) pre_constant(false)operator(;)
instance_variable(@mod_ruby) operator(=) pre_constant(false)
- instance_variable(@env) operator(=) constant(ENV)operator(.)ident(to_hash)
+ instance_variable(@env) operator(=) pre_constant(ENV)operator(.)ident(to_hash)
reserved(if) reserved(defined?)operator(()constant(MOD_RUBY)operator(\))
instance_variable(@output_method) operator(=) string<delimiter(")content(mod_ruby)delimiter(")>
@@ -1302,7 +1302,7 @@ reserved(class) class(Rweb)
reserved(end)
comment(# Decodes URL encoded data, %20 for example stands for a space.)
- reserved(def) constant(Rweb)operator(.)ident(unescape)operator(()ident(str)operator(\))
+ reserved(def) constant(Rweb)operator(.)method(unescape)operator(()ident(str)operator(\))
comment(# {{{)
reserved(if) reserved(defined?) ident(str) reserved(and) ident(str)operator(.)ident(is_a?) constant(String)
ident(str)operator(.)ident(gsub!)operator(()regexp<delimiter(/)char(\\+)delimiter(/)>operator(,) string<delimiter(")content( )delimiter(")>operator(\))
@@ -1320,9 +1320,9 @@ reserved(class) class(Rweb)
constant(Cookie)operator(.)ident(disallow) comment(# no more cookies can be set or modified)
reserved(if) operator(!)operator(()instance_variable(@settings)operator(.)ident(has_key?)operator(()string<delimiter(")content(silent)delimiter(")>operator(\)) reserved(and) instance_variable(@settings)operator([)string<delimiter(")content(silent)delimiter(")>operator(]) operator(==) pre_constant(true)operator(\)) reserved(and) operator(!)instance_variable(@header)operator(.)ident(has_key?)operator(()string<delimiter(")content(x-powered-by)delimiter(")>operator(\))
reserved(if) instance_variable(@mod_ruby)
- ident(header)operator(()string<delimiter(")content(x-powered-by: )inline<inline_delimiter(#{)constant(RWEB)inline_delimiter(})>content( (Ruby/)inline<inline_delimiter(#{)constant(RUBY_VERSION)inline_delimiter(})>content(, )inline<inline_delimiter(#{)constant(MOD_RUBY)inline_delimiter(})>content(\))delimiter(")>operator(\))operator(;)
+ ident(header)operator(()string<delimiter(")content(x-powered-by: )inline<inline_delimiter(#{)constant(RWEB)inline_delimiter(})>content( (Ruby/)inline<inline_delimiter(#{)pre_constant(RUBY_VERSION)inline_delimiter(})>content(, )inline<inline_delimiter(#{)constant(MOD_RUBY)inline_delimiter(})>content(\))delimiter(")>operator(\))operator(;)
reserved(else)
- ident(header)operator(()string<delimiter(")content(x-powered-by: )inline<inline_delimiter(#{)constant(RWEB)inline_delimiter(})>content( (Ruby/)inline<inline_delimiter(#{)constant(RUBY_VERSION)inline_delimiter(})>content(\))delimiter(")>operator(\))operator(;)
+ ident(header)operator(()string<delimiter(")content(x-powered-by: )inline<inline_delimiter(#{)constant(RWEB)inline_delimiter(})>content( (Ruby/)inline<inline_delimiter(#{)pre_constant(RUBY_VERSION)inline_delimiter(})>content(\))delimiter(")>operator(\))operator(;)
reserved(end)
reserved(end)
@@ -1610,7 +1610,7 @@ reserved(class) class(Cookie)
comment(# Changes the type of all cookies.)
comment(# Allowed values are RFC2109 and netscape (default\).)
- reserved(def) constant(Cookie)operator(.)ident(type)operator(=)operator(()ident(type)operator(\))
+ reserved(def) constant(Cookie)operator(.)method(type=)operator(()ident(type)operator(\))
comment(# {{{)
reserved(unless) class_variable(@@allowed)
ident(raise) string<delimiter(")content(The cookies are allready send, so you can't change the type anymore.)delimiter(")>
@@ -1624,7 +1624,7 @@ reserved(class) class(Cookie)
comment(# After sending this message, no cookies can be set or modified. Use it, when)
comment(# HTTP-Headers are send. Rweb does this for you.)
- reserved(def) constant(Cookie)operator(.)ident(disallow)
+ reserved(def) constant(Cookie)operator(.)method(disallow)
comment(# {{{)
class_variable(@@allowed) operator(=) pre_constant(false)
pre_constant(true)
@@ -1633,7 +1633,7 @@ reserved(class) class(Cookie)
comment(# Returns a HTTP header (type String\) with all cookies. Rweb does this for)
comment(# you.)
- reserved(def) constant(Cookie)operator(.)ident(getHttpHeader)
+ reserved(def) constant(Cookie)operator(.)method(getHttpHeader)
comment(# {{{)
reserved(if) reserved(defined?)operator(()class_variable(@@list)operator(\))
reserved(if) class_variable(@@type) operator(==) string<delimiter(")content(netscape)delimiter(")>
@@ -1851,7 +1851,7 @@ comment(=begin
reserved(end)
reserved(class) class(Parser)
- reserved(def) constant(Parser)operator(.)ident(flatten) ident(str)
+ reserved(def) constant(Parser)operator(.)method(flatten) ident(str)
comment(# replace mac & dos newlines with unix style)
ident(str)operator(.)ident(gsub)operator(()regexp<delimiter(/)char(\\r)char(\\n)content(?)delimiter(/)>operator(,) string<delimiter(")char(\\n)delimiter(")>operator(\))
reserved(end)
@@ -2772,7 +2772,7 @@ reserved(module) class(WhyTheLuckyStiff)
reserved(end)
reserved(end)
- reserved(def) constant(Book)operator(::)ident(load)operator(() ident(file_name) operator(\))
+ reserved(def) constant(Book)operator(::)method(load)operator(() ident(file_name) operator(\))
constant(YAML)operator(::)ident(load)operator(() constant(File)operator(.)ident(open)operator(() ident(file_name) operator(\)) operator(\))
reserved(end)
@@ -2977,7 +2977,7 @@ comment(# @size = 0.5 + 0.2 * Math.cos(Deg2Rad * @angle\))
reserved(for) ident(y) reserved(in) operator(-)constant(D_MAX)operator(..)constant(D_MAX)
ident(h1) operator(=) operator(()ident(x) operator(+) ident(y) operator(-) integer(2)operator(\))operator(.)ident(abs)
ident(h2) operator(=) operator(()ident(y) operator(-) ident(x) operator(+) integer(1)operator(\))operator(.)ident(abs)
- constant(GL)operator(.)constant(PushMatrix)
+ constant(GL)operator(.)ident(PushMatrix)
ident(c) operator(=) operator([)integer(1)operator(,) integer(0)operator(,) integer(0)operator(,) integer(1)operator(])
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(AMBIENT)operator(,) ident(c)operator(\))
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(DIFFUSE)operator(,) ident(c)operator(\))
@@ -2994,11 +2994,11 @@ comment(# @size = 0.5 + 0.2 * Math.cos(Deg2Rad * @angle\))
constant(GL)operator(.)ident(Vertex)operator(()operator(-)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(-)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
- constant(GL)operator(.)constant(End)
+ constant(GL)operator(.)ident(End)
- constant(GL)operator(.)constant(PopMatrix)
+ constant(GL)operator(.)ident(PopMatrix)
- constant(GL)operator(.)constant(PushMatrix)
+ constant(GL)operator(.)ident(PushMatrix)
ident(c) operator(=) operator([)integer(0)operator(,) integer(0)operator(,) integer(1)operator(,) integer(1)operator(])
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(AMBIENT)operator(,) ident(c)operator(\))
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(DIFFUSE)operator(,) ident(c)operator(\))
@@ -3015,11 +3015,11 @@ comment(# @size = 0.5 + 0.2 * Math.cos(Deg2Rad * @angle\))
constant(GL)operator(.)ident(Vertex)operator(()operator(-)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(-)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
- constant(GL)operator(.)constant(End)
+ constant(GL)operator(.)ident(End)
- constant(GL)operator(.)constant(PopMatrix)
+ constant(GL)operator(.)ident(PopMatrix)
- constant(GL)operator(.)constant(PushMatrix)
+ constant(GL)operator(.)ident(PushMatrix)
ident(c) operator(=) operator([)float(0.0) operator(+) operator(()ident(x)operator(/)float(10.0)operator(\))operator(,) float(0.0) operator(+) operator(()ident(y)operator(/)float(10.0)operator(\))operator(,) integer(0)operator(,) integer(1)operator(])
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(AMBIENT)operator(,) ident(c)operator(\))
constant(GL)operator(.)ident(Material)operator(()constant(GL)operator(::)constant(FRONT)operator(,) constant(GL)operator(::)constant(DIFFUSE)operator(,) ident(c)operator(\))
@@ -3036,9 +3036,9 @@ comment(# @size = 0.5 + 0.2 * Math.cos(Deg2Rad * @angle\))
constant(GL)operator(.)ident(Vertex)operator(()operator(-)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(-)constant(SQUARE_SIZE)operator(\))
constant(GL)operator(.)ident(Vertex)operator(()operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(,) operator(+)constant(SQUARE_SIZE)operator(\))
- constant(GL)operator(.)constant(End)
+ constant(GL)operator(.)ident(End)
- constant(GL)operator(.)constant(PopMatrix)
+ constant(GL)operator(.)ident(PopMatrix)
reserved(end)
reserved(end)
@@ -3542,7 +3542,7 @@ reserved(class) class(Scanner)
comment(# To allow Scanner.new without parameters.)
constant(DUMMY_INPUT) operator(=) string<delimiter(')content(dummy file)delimiter(')>
- reserved(def) constant(DUMMY_INPUT)operator(.)ident(getc)
+ reserved(def) constant(DUMMY_INPUT)operator(.)method(getc)
pre_constant(nil)
reserved(end)