X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/test_highlight_args1.res b/tests/sav/test_highlight_args1.res index e6ac401..c9cc4e2 100644 --- a/tests/sav/test_highlight_args1.res +++ b/tests/sav/test_highlight_args1.res @@ -44,54 +44,54 @@

base_simple3$Int$output

	fun output is intern

base_simple3$A$Object::init

-
	init do 5.output
+
	init do 5.output

base_simple3$A$run

-
	fun run do 6.output
+
	fun run do 6.output

base_simple3$B$_val

-
	var val: Int
+
	var val: Int

base_simple3$B$val

-
	var val: Int
+
	var val: Int

base_simple3$B$val=

-
	var val: Int
+
	var val: Int

base_simple3$B$init

-
	init(v: Int)
+
	init(v: Int)
 	do
-		7.output
-		self.val = v
+		7.output
+		self.val = v
 	end

base_simple3$B$run

	fun run do val.output

base_simple3$C$_val1

-
	var val1: Int
+
	var val1: Int

base_simple3$C$val1

-
	var val1: Int
+
	var val1: Int

base_simple3$C$val1=

-
	var val1: Int
+
	var val1: Int

base_simple3$C$_val2

-
	var val2: Int = 10
+
	var val2: Int = 10

base_simple3$C$val2

-
	var val2: Int = 10
+
	var val2: Int = 10

base_simple3$C$val2=

-
	var val2: Int = 10
+
	var val2: Int = 10

base_simple3$Sys$foo

-
fun foo do 2.output
+
fun foo do 2.output

base_simple3$Sys$bar

-
fun bar(i: Int) do i.output
+
fun bar(i: Int) do i.output

base_simple3$Sys$baz

-
fun baz: Int do return 4
+
fun baz: Int do return 4

base_simple3$Sys$main

-
1.output
+
1.output
 foo
-bar(3)
+bar(3)
 baz.output
 
-var a = new A
+var a = new A
 a.run
 
-var b = new B(8)
+var b = new B(8)
 b.run
 
-var c = new C(9)
+var c = new C(9)
 c.val1.output
 c.val2.output

AST node: AModule at base_simple3.nit:17,1--66,13

@@ -108,41 +108,41 @@
end
class A - init do 5.output - fun run do 6.output + init do 5.output + fun run do 6.output end class B - var val: Int - init(v: Int) + var val: Int + init(v: Int) do - 7.output - self.val = v + 7.output + self.val = v end fun run do val.output end class C - var val1: Int - var val2: Int = 10 + var val1: Int + var val2: Int = 10 end -fun foo do 2.output -fun bar(i: Int) do i.output -fun baz: Int do return 4 +fun foo do 2.output +fun bar(i: Int) do i.output +fun baz: Int do return 4 -1.output +1.output foo -bar(3) +bar(3) baz.output -var a = new A +var a = new A a.run -var b = new B(8) +var b = new B(8) b.run -var c = new C(9) +var c = new C(9) c.val1.output c.val2.output

AST node: ANoImport at base_simple3.nit:17,1--10

@@ -171,7 +171,7 @@

AST node: AMethPropdef at base_simple3.nit:26,2--21

	fun output is intern

AST node: TKwmeth at base_simple3.nit:26,2--4

-
	fun
+
	fun

AST node: AIdMethid at base_simple3.nit:26,6--11

 output

AST node: TId at base_simple3.nit:26,6--11

@@ -184,12 +184,4 @@
 is

AST node: AAnnotation at base_simple3.nit:26,16--21

 intern
-

AST node: AIdAtid at base_simple3.nit:26,16--21

-
 intern
-

AST node: AConcreteClasskind at base_simple3.nit:29,1--5

-
class
-

AST node: TKwclass at base_simple3.nit:29,1--5

-
class
-

AST node: TKwinit at base_simple3.nit:30,2--5

-
	init
-

AST node: TKwdo at base***TRUNCATED*** +

AST node: AIdAtid at bas***TRUNCATED***