diff options
| author | Sebastian Engel <dev@sebastianengel.eu> | 2021-11-14 19:18:46 +0100 |
|---|---|---|
| committer | Sebastian Engel <dev@sebastianengel.eu> | 2021-11-14 19:18:46 +0100 |
| commit | a9d991260bb51d5802ddd2a3509216e736f7e01e (patch) | |
| tree | 59eb4894b2e630cacd8fe35937becdc442e8540c /tests | |
| parent | c89d5cf74e1e2f509fb09535e0995f50663c3068 (diff) | |
| download | pygments-git-a9d991260bb51d5802ddd2a3509216e736f7e01e.tar.gz | |
Modernize Whitespace token in lexer: fantom
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/examplefiles/fan/test.fan.output | 7079 |
1 files changed, 1987 insertions, 5092 deletions
diff --git a/tests/examplefiles/fan/test.fan.output b/tests/examplefiles/fan/test.fan.output index 57a42911..c5e9c5a4 100644 --- a/tests/examplefiles/fan/test.fan.output +++ b/tests/examplefiles/fan/test.fan.output @@ -1,85 +1,82 @@ -'//\n' Comment.Single +'//' Comment.Single +'\n' Text.Whitespace -'// Copyright (c) 2008, Brian Frank and Andy Frank\n' Comment.Single +'// Copyright (c) 2008, Brian Frank and Andy Frank' Comment.Single +'\n' Text.Whitespace -'// Licensed under the Academic Free License version 3.0\n' Comment.Single +'// Licensed under the Academic Free License version 3.0' Comment.Single +'\n' Text.Whitespace -'//\n' Comment.Single +'//' Comment.Single +'\n' Text.Whitespace -'// History:\n' Comment.Single +'// History:' Comment.Single +'\n' Text.Whitespace -'// 17 Nov 08 Brian Frank Creation\n' Comment.Single +'// 17 Nov 08 Brian Frank Creation' Comment.Single +'\n' Text.Whitespace -'//\n' Comment.Single - -'\n' Text +'//' Comment.Single +'\n\n' Text.Whitespace 'using' Keyword.Namespace -' ' Text +' ' Text.Whitespace 'compiler' Name.Namespace -'\n' Text - -'\n' Text +'\n\n' Text.Whitespace -'**\n' Comment.Special +'**' Comment.Special +'\n' Text.Whitespace -'** JavaBridge is the compiler plugin for bringing Java\n' Comment.Special +'** JavaBridge is the compiler plugin for bringing Java' Comment.Special +'\n' Text.Whitespace -'** classes into the Fantom type system.\n' Comment.Special +'** classes into the Fantom type system.' Comment.Special +'\n' Text.Whitespace -'**\n' Comment.Special +'**' Comment.Special +'\n' Text.Whitespace 'class' Keyword -' ' Text +' ' Text.Whitespace 'JavaBridge' Name.Class -' ' Text +' ' Text.Whitespace ':' Punctuation -' ' Text +' ' Text.Whitespace 'CBridge' Name.Class -'\n' Text +'\n' Text.Whitespace '{' Punctuation -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Constructor\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Construct a JavaBridge for current environment\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Constructor' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Construct a JavaBridge for current environment' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'new' Keyword -' ' Text +' ' Text.Whitespace 'make' Name.Function '(' Punctuation 'Compiler' Name.Class -' ' Text +' ' Text.Whitespace 'c' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'ClassPath' Name.Class -' ' Text +' ' Text.Whitespace 'cp' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'l' Text 'a' Text @@ -92,118 +89,80 @@ '.' Operator 'makeForCurrent' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace ':' Text -' ' Text +' ' Text.Whitespace 'super' Name.Builtin.Pseudo '(' Punctuation 'c' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'this' Name.Builtin.Pseudo '.' Operator 'cp' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'p' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Namespace\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Map a FFI "podName" to a Java package.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Namespace' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Map a FFI "podName" to a Java package.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'CPod' Name.Class -' ' Text +' ' Text.Whitespace 'resolvePod' Name.Function '(' Punctuation 'Str' Name.Class -' ' Text +' ' Text.Whitespace 'name' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Loc' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'loc' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// the empty package is used to represent primitives\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// the empty package is used to represent primitives' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'n' Text 'a' Text 'm' Text 'e' Text -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation '"' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'p' Text 'r' Text 'i' Text @@ -214,24 +173,13 @@ 'v' Text 'e' Text 's' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// look for package name in classpatch\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// look for package name in classpatch' Comment.Single +'\n ' Text.Whitespace 'classes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'p' Text '.' Operator @@ -242,14 +190,9 @@ 'm' Text 'e' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'c' Text 'l' Text @@ -258,22 +201,15 @@ 's' Text 'e' Text 's' Text -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'throw' Keyword -' ' Text +' ' Text.Whitespace 'C' Text 'o' Text 'm' Text @@ -315,27 +251,16 @@ 'd' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'l' Text 'o' Text 'c' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// map package to JavaPod\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// map package to JavaPod' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -346,13 +271,13 @@ '(' Punctuation 'this' Name.Builtin.Pseudo ',' Text -' ' Text +' ' Text.Whitespace 'n' Text 'a' Text 'm' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'l' Text 'a' Text @@ -361,61 +286,37 @@ 'e' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Map class meta-data and Java members to Fantom slots\n' Comment.Special - -' ' Text -' ' Text -'** for the specified JavaType.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Map class meta-data and Java members to Fantom slots' Comment.Special +'\n ' Text.Whitespace +'** for the specified JavaType.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'virtual' Keyword -' ' Text +' ' Text.Whitespace 'Void' Name.Class -' ' Text +' ' Text.Whitespace 'loadType' Name.Function '(' Punctuation 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'type' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Str' Name.Class ':' Punctuation 'CSlot' Name.Class -' ' Text +' ' Text.Whitespace 'slots' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -435,87 +336,54 @@ 'p' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 's' Text 'l' Text 'o' Text 't' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Call Resolution\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Resolve a construction call to a Java constructor.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Call Resolution' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Resolve a construction call to a Java constructor.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'resolveConstruction' Name.Function '(' Punctuation 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'call' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if the last argument is an it-block, then we know\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// right away that we will not be passing it thru to Java,\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// so strip it off to be appended as call to Obj.with\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// if the last argument is an it-block, then we know' Comment.Single +'\n ' Text.Whitespace +'// right away that we will not be passing it thru to Java,' Comment.Single +'\n ' Text.Whitespace +'// so strip it off to be appended as call to Obj.with' Comment.Single +'\n ' Text.Whitespace 'itBlock' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -524,9 +392,9 @@ 'args' Name.Function '.' Operator 'last' Name.Function -' ' Text +' ' Text.Whitespace 'as' Keyword -' ' Text +' ' Text.Whitespace 'C' Text 'l' Text 'o' Text @@ -538,14 +406,9 @@ 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 't' Text @@ -554,14 +417,14 @@ 'o' Text 'c' Text 'k' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'i' Text 't' Text 'B' Text @@ -572,14 +435,7 @@ '.' Operator 'isItBlock' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -592,21 +448,9 @@ '-' Operator '1' Literal.Number.Integer ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'else' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'i' Text 't' Text 'B' Text @@ -614,36 +458,21 @@ 'o' Text 'c' Text 'k' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if this is an interop array like IntArray/int[] use make\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// factory otherwise look for Java constructor called <init>\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if this is an interop array like IntArray/int[] use make' Comment.Single +'\n ' Text.Whitespace +'// factory otherwise look for Java constructor called <init>' Comment.Single +'\n ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -652,14 +481,9 @@ 'target' Name.Function '.' Operator 'ctype' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'b' Text 'a' Text @@ -668,23 +492,16 @@ '.' Operator 'isInteropArray' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'method' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -699,30 +516,18 @@ 'e' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'else' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'method' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -739,27 +544,16 @@ '>' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// call resolution to deal with overloading\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// call resolution to deal with overloading' Comment.Single +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'r' Text 'e' Text 's' Text @@ -777,34 +571,15 @@ 'l' Text 'l' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// we need to create an implicit target for the Java runtime\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// to perform the new opcode to ensure it is on the stack\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -"// before the args (we don't do this for interop Array classes)\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// we need to create an implicit target for the Java runtime' Comment.Single +'\n ' Text.Whitespace +'// to perform the new opcode to ensure it is on the stack' Comment.Single +'\n ' Text.Whitespace +"// before the args (we don't do this for interop Array classes)" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'b' Text @@ -814,48 +589,29 @@ '.' Operator 'isInteropArray' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'loc' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'loc' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'target' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -871,10 +627,10 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -882,9 +638,9 @@ '.' Operator 'newMethod' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 's' Text 'y' Text 'n' Text @@ -896,37 +652,17 @@ 'c' Text '=' Operator 'true' Keyword.Constant -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if we stripped an it-block argument,\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// add it as trailing call to Obj.with\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// if we stripped an it-block argument,' Comment.Single +'\n ' Text.Whitespace +'// add it as trailing call to Obj.with' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 't' Text @@ -935,15 +671,15 @@ 'o' Text 'c' Text 'k' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'i' Text 't' Text 'B' Text @@ -959,78 +695,43 @@ 'l' Text 'l' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Resolve a construction chain call where a Fantom constructor\n' Comment.Special - -' ' Text -' ' Text -'** calls the super-class constructor. Type check the arguments\n' Comment.Special - -' ' Text -' ' Text -'** and insert any conversions needed.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Resolve a construction chain call where a Fantom constructor' Comment.Special +'\n ' Text.Whitespace +'** calls the super-class constructor. Type check the arguments' Comment.Special +'\n ' Text.Whitespace +'** and insert any conversions needed.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'resolveConstructorChain' Name.Function '(' Punctuation 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'call' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// we don't allow chaining to a this ctor for Java FFI\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// we don't allow chaining to a this ctor for Java FFI" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'c' Text 'a' Text @@ -1040,11 +741,11 @@ 'target' Name.Function '.' Operator 'id' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'E' Text 'x' Text 'p' Text @@ -1054,16 +755,9 @@ '.' Operator 'superExpr' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'throw' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -1114,7 +808,7 @@ 'I' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -1122,26 +816,15 @@ '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// route to a superclass constructor\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// route to a superclass constructor' Comment.Single +'\n ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -1152,21 +835,16 @@ 'ctype' Name.Function '.' Operator 'deref' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'method' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -1183,22 +861,11 @@ '>' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// call resolution to deal with overloading\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// call resolution to deal with overloading' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'r' Text 'e' Text 's' Text @@ -1216,111 +883,65 @@ 'l' Text 'l' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Given a dot operator slot access on the given foreign\n' Comment.Special - -' ' Text -' ' Text -'** base type, determine the appopriate slot to use based on\n' Comment.Special - -' ' Text -' ' Text -'** whether parens were used\n' Comment.Special - -' ' Text -' ' Text -'** base.name => noParens = true\n' Comment.Special - -' ' Text -' ' Text -'** base.name() => noParens = false\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** In Java a given name could be bound to both a field and\n' Comment.Special - -' ' Text -' ' Text -'** a method. In this case we only resolve the field if\n' Comment.Special - -' ' Text -' ' Text -'** no parens are used. We also handle the special case of\n' Comment.Special - -' ' Text -' ' Text -'** Java annotations here because their element methods are\n' Comment.Special - -' ' Text -' ' Text -'** also mapped as Fantom fields (instance based mixin field).\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Given a dot operator slot access on the given foreign' Comment.Special +'\n ' Text.Whitespace +'** base type, determine the appopriate slot to use based on' Comment.Special +'\n ' Text.Whitespace +'** whether parens were used' Comment.Special +'\n ' Text.Whitespace +'** base.name => noParens = true' Comment.Special +'\n ' Text.Whitespace +'** base.name() => noParens = false' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** In Java a given name could be bound to both a field and' Comment.Special +'\n ' Text.Whitespace +'** a method. In this case we only resolve the field if' Comment.Special +'\n ' Text.Whitespace +'** no parens are used. We also handle the special case of' Comment.Special +'\n ' Text.Whitespace +'** Java annotations here because their element methods are' Comment.Special +'\n ' Text.Whitespace +'** also mapped as Fantom fields (instance based mixin field).' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'CSlot' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'resolveSlotAccess' Name.Function '(' Punctuation 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Str' Name.Class -' ' Text +' ' Text.Whitespace 'name' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'noParens' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// first try to resolve as a field\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// first try to resolve as a field' Comment.Single +'\n ' Text.Whitespace 'field' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -1333,51 +954,28 @@ 'm' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'f' Text 'i' Text 'e' Text 'l' Text 'd' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -"// if no () we used and this isn't an annotation field\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// if no () we used and this isn't an annotation field" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'n' Text 'o' Text @@ -1387,9 +985,9 @@ 'e' Text 'n' Text 's' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation 'f' Text 'i' Text @@ -1398,9 +996,9 @@ 'd' Text '.' Operator 'isStatic' Name.Function -' ' Text +' ' Text.Whitespace '||' Operator -' ' Text +' ' Text.Whitespace '!' Operator 'b' Text 'a' Text @@ -1410,67 +1008,25 @@ 'isMixin' Name.Function ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 'e' Text 'l' Text 'd' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// if we did find a field, then make sure we use that\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -"// field's parent type to resolve a method (becuase the\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// base type might be a sub-class of a Java type in which\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// case it is unware of field/method overloads)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if we did find a field, then make sure we use that' Comment.Single +'\n ' Text.Whitespace +"// field's parent type to resolve a method (becuase the" Comment.Single +'\n ' Text.Whitespace +'// base type might be a sub-class of a Java type in which' Comment.Single +'\n ' Text.Whitespace +'// case it is unware of field/method overloads)' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 'e' Text @@ -1486,29 +1042,13 @@ 'm' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// lookup method\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// lookup method' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -1521,120 +1061,70 @@ 'm' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Resolve a method call: try to find the best match\n' Comment.Special - -' ' Text -' ' Text -'** and apply any coercions needed.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Resolve a method call: try to find the best match' Comment.Special +'\n ' Text.Whitespace +'** and apply any coercions needed.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'resolveCall' Name.Function '(' Punctuation 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'call' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// try to match against all the overloaded methods\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// try to match against all the overloaded methods' Comment.Single +'\n ' Text.Whitespace 'matches' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'CallMatch' Name.Class '[,]' Literal -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'CMethod' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'm' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'method' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'while' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'match' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'a' Text 't' Text @@ -1650,32 +1140,25 @@ 'l' Text 'l' Text ',' Text -' ' Text +' ' Text.Whitespace 'm' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text 'a' Text 't' Text 'c' Text 'h' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -' ' Text +' ' Text.Whitespace 'm' Text 'a' Text 't' Text @@ -1692,22 +1175,15 @@ 'c' Text 'h' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'm' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'm' Name.Class -' ' Text +' ' Text.Whitespace 'is' Name.Variable -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -1718,9 +1194,9 @@ 'h' Text 'o' Text 'd' Text -' ' Text +' ' Text.Whitespace '?' Text -' ' Text +' ' Text.Whitespace '(' Punctuation '(' Punctuation 'J' Text @@ -1738,33 +1214,17 @@ ')' Punctuation '.' Operator 'next' Name.Function -' ' Text +' ' Text.Whitespace ':' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if we have exactly one match use then use that one\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// if we have exactly one match use then use that one' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text 'a' Text @@ -1775,15 +1235,15 @@ 's' Text '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace '1' Literal.Number.Integer ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'm' Text 'a' Text 't' Text @@ -1802,34 +1262,15 @@ 'l' Text 'l' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if we have multiple matches; resolve to\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// most specific match according to JLS rules\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// TODO: this does not correct resolve when using Fantom implicit casting\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if we have multiple matches; resolve to' Comment.Single +'\n ' Text.Whitespace +'// most specific match according to JLS rules' Comment.Single +'\n ' Text.Whitespace +'// TODO: this does not correct resolve when using Fantom implicit casting' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text 'a' Text @@ -1840,30 +1281,18 @@ 's' Text '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '>' Operator -' ' Text +' ' Text.Whitespace '1' Literal.Number.Integer ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'best' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'r' Text 'e' Text 's' Text @@ -1892,30 +1321,23 @@ 'e' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'b' Text 'e' Text 's' Text 't' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'e' Text 's' Text @@ -1928,31 +1350,15 @@ 'l' Text 'l' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// zero or multiple ambiguous matches is a compiler error\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// zero or multiple ambiguous matches is a compiler error' Comment.Single +'\n ' Text.Whitespace 's' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text @@ -1961,12 +1367,7 @@ 'f' Text '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 's' Text '.' Operator 'add' Name.Function @@ -1980,9 +1381,9 @@ 's' Text '.' Operator 'isEmpty' Name.Function -' ' Text +' ' Text.Whitespace '?' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'I' Literal.String 'n' Literal.String @@ -1998,9 +1399,9 @@ 's' Literal.String ' ' Literal.String '"' Punctuation -' ' Text +' ' Text.Whitespace ':' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'A' Literal.String 'm' Literal.String @@ -2019,12 +1420,7 @@ ' ' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 's' Text '.' Operator 'add' Name.Function @@ -2043,12 +1439,7 @@ '(' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 's' Text '.' Operator 'add' Name.Function @@ -2067,33 +1458,28 @@ ' ' Literal.String '"' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'arg' Name.Variable '->' Punctuation 'Str' Name.Class '|' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'g' Text '.' Operator 'toTypeStr' Name.Function -' ' Text +' ' Text.Whitespace '}' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 's' Text '.' Operator 'add' Name.Function @@ -2102,14 +1488,9 @@ ')' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'throw' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -2118,7 +1499,7 @@ '.' Operator 'toStr' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -2126,93 +1507,60 @@ '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Check if the call matches the specified overload method.\n' Comment.Special - -' ' Text -' ' Text -'** If so return method and coerced args otherwise return null.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Check if the call matches the specified overload method.' Comment.Special +'\n ' Text.Whitespace +'** If so return method and coerced args otherwise return null.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'internal' Keyword -' ' Text +' ' Text.Whitespace 'CallMatch' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'matchCall' Name.Function '(' Punctuation 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'call' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'm' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// first check if have matching numbers of args and params\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// first check if have matching numbers of args and params' Comment.Single +'\n ' Text.Whitespace 'args' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'args' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text '.' Operator 'params' Name.Function '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '<' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'g' Text @@ -2220,89 +1568,56 @@ '.' Operator 'size' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check if each argument is ok or can be coerced\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// check if each argument is ok or can be coerced' Comment.Single +'\n ' Text.Whitespace 'isErr' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'newArgs' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'g' Text 's' Text '.' Operator 'dup' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'm' Text '.' Operator 'params' Name.Function '.' Operator 'each' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CParam' Name.Class -' ' Text +' ' Text.Whitespace 'p' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text -' ' Text +' ' Text.Whitespace '>=' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'g' Text @@ -2310,100 +1625,38 @@ '.' Operator 'size' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// param has a default value, then that is ok\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// param has a default value, then that is ok' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'p' Text '.' Operator 'hasDefault' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'i' Text 's' Text 'E' Text 'r' Text 'r' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'else' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// ensure arg fits parameter type (or auto-cast)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// ensure arg fits parameter type (or auto-cast)' Comment.Single +'\n ' Text.Whitespace 'n' Text 'e' Text 'w' Text @@ -2414,9 +1667,9 @@ '[' Operator 'i' Text ']' Operator -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -2432,54 +1685,37 @@ 'i' Text ']' Operator ',' Text -' ' Text +' ' Text.Whitespace 'p' Text '.' Operator 'paramType' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace '|' Text '-' Operator '>' Operator '|' Text -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'i' Text 's' Text 'E' Text 'r' Text 'r' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 's' Text @@ -2487,18 +1723,13 @@ 'r' Text 'r' Text ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -2508,24 +1739,24 @@ 't' Text 'c' Text 'h' Text -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'it' Name.Builtin.Pseudo '.' Operator 'method' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'm' Text ';' Text -' ' Text +' ' Text.Whitespace 'it' Name.Builtin.Pseudo '.' Operator 'args' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'n' Text 'e' Text 'w' Text @@ -2533,76 +1764,48 @@ 'r' Text 'g' Text 's' Text -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Given a list of overloaed methods find the most specific method\n' Comment.Special - -' ' Text -' ' Text -'** according to Java Language Specification 15.11.2.2. The "informal\n' Comment.Special - -' ' Text -' ' Text -'** intuition" rule is that a method is more specific than another\n' Comment.Special - -' ' Text -' ' Text -'** if the first could be could be passed onto the second one.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Given a list of overloaed methods find the most specific method' Comment.Special +'\n ' Text.Whitespace +'** according to Java Language Specification 15.11.2.2. The "informal' Comment.Special +'\n ' Text.Whitespace +'** intuition" rule is that a method is more specific than another' Comment.Special +'\n ' Text.Whitespace +'** if the first could be could be passed onto the second one.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'internal' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'CallMatch' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'resolveMostSpecific' Name.Function '(' Punctuation 'CallMatch' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'matches' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'CallMatch' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'best' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'a' Text 't' Text @@ -2613,20 +1816,15 @@ '[' Operator '0' Literal.Number.Integer ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'for' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Name.Variable ':=' Operator '1' Literal.Number.Integer ';' Text -' ' Text +' ' Text.Whitespace 'i' Text '<' Operator 'm' Text @@ -2639,29 +1837,17 @@ '.' Operator 'size' Name.Function ';' Text -' ' Text +' ' Text.Whitespace '++' Operator 'i' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'x' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'a' Text 't' Text @@ -2672,16 +1858,9 @@ '[' Operator 'i' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 's' Text @@ -2703,26 +1882,19 @@ 's' Text 't' Text ',' Text -' ' Text +' ' Text.Whitespace 'x' Text ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'continue' Keyword -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 's' Text @@ -2741,116 +1913,75 @@ '(' Punctuation 'x' Text ',' Text -' ' Text +' ' Text.Whitespace 'b' Text 'e' Text 's' Text 't' Text ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'b' Text 'e' Text 's' Text 't' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'x' Text ';' Text -' ' Text +' ' Text.Whitespace 'continue' Keyword -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'e' Text 's' Text 't' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -"** Is 'a' more specific than 'b' such that 'a' could be used\n" Comment.Special - -' ' Text -' ' Text -"** passed to 'b' without a compile time error.\n" Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +"** Is 'a' more specific than 'b' such that 'a' could be used" Comment.Special +'\n ' Text.Whitespace +"** passed to 'b' without a compile time error." Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'internal' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'isMoreSpecific' Name.Function '(' Punctuation 'CallMatch' Name.Class -' ' Text +' ' Text.Whitespace 'a' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CallMatch' Name.Class -' ' Text +' ' Text.Whitespace 'b' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'a' Text '.' Operator 'method' Name.Function @@ -2858,38 +1989,26 @@ 'params' Name.Function '.' Operator 'all' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CParam' Name.Class -' ' Text +' ' Text.Whitespace 'ap' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '->' Punctuation 'Bool' Name.Class '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'bp' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'b' Text '.' Operator 'method' Name.Function @@ -2898,16 +2017,9 @@ '[' Operator 'i' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'a' Text 'p' Text '.' Operator @@ -2920,105 +2032,65 @@ '.' Operator 'paramType' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Overrides\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Called during Inherit step when a Fantom slot overrides a FFI slot.\n' Comment.Special - -' ' Text -' ' Text -'** Log and throw compiler error if there is a problem.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Overrides' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Called during Inherit step when a Fantom slot overrides a FFI slot.' Comment.Special +'\n ' Text.Whitespace +'** Log and throw compiler error if there is a problem.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Void' Name.Class -' ' Text +' ' Text.Whitespace 'checkOverride' Name.Function '(' Punctuation 'TypeDef' Name.Class -' ' Text +' ' Text.Whitespace 't' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CSlot' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'SlotDef' Name.Class -' ' Text +' ' Text.Whitespace 'def' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// we don't allow Fantom to override Java methods with multiple\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -"// overloaded versions since the Fantom type system can't actually\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// override all the overloaded versions\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// we don't allow Fantom to override Java methods with multiple" Comment.Single +'\n ' Text.Whitespace +"// overloaded versions since the Fantom type system can't actually" Comment.Single +'\n ' Text.Whitespace +'// override all the overloaded versions' Comment.Single +'\n ' Text.Whitespace 'jslot' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'base' Name.Class -' ' Text +' ' Text.Whitespace 'as' Name.Variable -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -3027,14 +2099,9 @@ 'l' Text 'o' Text 't' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 's' Text @@ -3044,22 +2111,15 @@ '?' Text '.' Operator 'next' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'throw' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -3115,34 +2175,23 @@ "'" Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// route to method override checking\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// route to method override checking' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'base' Name.Class -' ' Text +' ' Text.Whitespace 'is' Name.Variable -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -3153,13 +2202,13 @@ 'h' Text 'o' Text 'd' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'def' Name.Class -' ' Text +' ' Text.Whitespace 'is' Name.Variable -' ' Text +' ' Text.Whitespace 'M' Text 'e' Text 't' Text @@ -3170,14 +2219,7 @@ 'e' Text 'f' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'h' Text 'e' Text @@ -3200,79 +2242,53 @@ '(' Punctuation 't' Text ',' Text -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Called on method/method overrides in the checkOverride callback.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Called on method/method overrides in the checkOverride callback.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'private' Keyword -' ' Text +' ' Text.Whitespace 'Void' Name.Class -' ' Text +' ' Text.Whitespace 'checkMethodOverride' Name.Function '(' Punctuation 'TypeDef' Name.Class -' ' Text +' ' Text.Whitespace 't' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'JavaMethod' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'MethodDef' Name.Class -' ' Text +' ' Text.Whitespace 'def' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// bail early if we know things aren't going to work out\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// bail early if we know things aren't going to work out" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'b' Text 'a' Text @@ -3282,10 +2298,10 @@ 'params' Name.Function '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text @@ -3294,42 +2310,19 @@ '.' Operator 'size' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if the return type is primitive or Java array and the\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Fantom declaration matches how it is inferred into the Fan\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// type system, then just change the return type - the compiler\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// will impliclty do all the return coercions\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if the return type is primitive or Java array and the' Comment.Single +'\n ' Text.Whitespace +'// Fantom declaration matches how it is inferred into the Fan' Comment.Single +'\n ' Text.Whitespace +'// type system, then just change the return type - the compiler' Comment.Single +'\n ' Text.Whitespace +'// will impliclty do all the return coercions' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text 's' Text @@ -3361,7 +2354,7 @@ '.' Operator 'returnType' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text @@ -3369,112 +2362,52 @@ 'returnType' Name.Function ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'ret' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'inheritedRet' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text 'e' Text '.' Operator 'returnType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if any of the parameters is a primitive or Java array\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// and the Fantom declaration matches how it is inferred into\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// the Fantom type type, then change the parameter type to\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// the Java override type and make the Fantom type a local\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// variable:\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Java: void foo(int a) { ... }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Fantom: Void foo(Int a) { ... }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Result: Void foo(int a_$J) { Int a := a_$J; ... }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'//\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// if any of the parameters is a primitive or Java array' Comment.Single +'\n ' Text.Whitespace +'// and the Fantom declaration matches how it is inferred into' Comment.Single +'\n ' Text.Whitespace +'// the Fantom type type, then change the parameter type to' Comment.Single +'\n ' Text.Whitespace +'// the Java override type and make the Fantom type a local' Comment.Single +'\n ' Text.Whitespace +'// variable:' Comment.Single +'\n ' Text.Whitespace +'// Java: void foo(int a) { ... }' Comment.Single +'\n ' Text.Whitespace +'// Fantom: Void foo(Int a) { ... }' Comment.Single +'\n ' Text.Whitespace +'// Result: Void foo(int a_$J) { Int a := a_$J; ... }' Comment.Single +'\n ' Text.Whitespace +'//' Comment.Single +'\n ' Text.Whitespace 'b' Text 'a' Text 's' Text @@ -3483,36 +2416,24 @@ 'params' Name.Function '.' Operator 'eachr' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CParam' Name.Class -' ' Text +' ' Text.Whitespace 'bp' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'dp' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text @@ -3521,16 +2442,9 @@ '[' Operator 'i' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'i' Text @@ -3561,37 +2475,22 @@ '.' Operator 'paramType' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'paramType' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// add local variable: Int bar := bar_$J\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// add local variable: Int bar := bar_$J' Comment.Single +'\n ' Text.Whitespace 'local' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'L' Text 'o' Text 'c' Text @@ -3611,14 +2510,7 @@ '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'l' Text 'o' Text 'c' Text @@ -3626,21 +2518,14 @@ 'l' Text '.' Operator 'ctype' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'paramType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'l' Text 'o' Text 'c' Text @@ -3648,22 +2533,14 @@ 'l' Text '.' Operator 'name' Name.Function -' ' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'name' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'l' Text 'o' Text 'c' Text @@ -3671,10 +2548,9 @@ 'l' Text '.' Operator 'init' Name.Function -' ' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'U' Text 'n' Text 'k' Text @@ -3696,31 +2572,24 @@ '.' Operator 'loc' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'name' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation '_' Literal.String '\\' Literal.String '$J' Literal.String.Interpol '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'd' Text 'e' Text 'f' Text @@ -3733,162 +2602,101 @@ '(' Punctuation '0' Literal.Number.Integer ',' Text -' ' Text +' ' Text.Whitespace 'l' Text 'o' Text 'c' Text 'a' Text 'l' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// rename parameter Int bar -> int bar_$J\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// rename parameter Int bar -> int bar_$J' Comment.Single +'\n ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'name' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'name' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation '_' Literal.String '\\' Literal.String '$J' Literal.String.Interpol '"' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'd' Text 'p' Text '.' Operator 'paramType' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'p' Text '.' Operator 'paramType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** When overriding a Java method check if the base type is\n' Comment.Special - -' ' Text -' ' Text -'** is a Java primitive or array and the override definition is\n' Comment.Special - -' ' Text -' ' Text -'** matches how the Java type is inferred in the Fantom type system.\n' Comment.Special - -' ' Text -' ' Text -"** If we have a match return true and we'll swizzle things in\n" Comment.Special - -' ' Text -' ' Text -'** checkMethodOverride.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** When overriding a Java method check if the base type is' Comment.Special +'\n ' Text.Whitespace +'** is a Java primitive or array and the override definition is' Comment.Special +'\n ' Text.Whitespace +'** matches how the Java type is inferred in the Fantom type system.' Comment.Special +'\n ' Text.Whitespace +"** If we have a match return true and we'll swizzle things in" Comment.Special +'\n ' Text.Whitespace +'** checkMethodOverride.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'private' Keyword -' ' Text +' ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'isOverrideInferredType' Name.Function '(' Punctuation 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'base' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'def' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check if base class slot is a JavaType\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// check if base class slot is a JavaType' Comment.Single +'\n ' Text.Whitespace 'java' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'a' Text 's' Text 'e' Text '.' Operator 'toNonNullable' Name.Function -' ' Text +' ' Text.Whitespace 'as' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -3897,50 +2705,27 @@ 'y' Text 'p' Text 'e' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 'a' Text 'v' Text 'a' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// allow primitives is it matches the inferred type\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// allow primitives is it matches the inferred type' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 'a' Text @@ -3949,42 +2734,27 @@ '.' Operator 'isPrimitive' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'j' Text 'a' Text 'v' Text 'a' Text '.' Operator 'inferredAs' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// allow arrays if mapped as Foo[] -> Foo?[]?\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// allow arrays if mapped as Foo[] -> Foo?[]?' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 'a' Text @@ -3993,112 +2763,75 @@ '.' Operator 'isArray' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'j' Text 'a' Text 'v' Text 'a' Text '.' Operator 'inferredAs' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'toNonNullable' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'isNullable' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// CheckErrors\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Called during CheckErrors step for a type which extends\n' Comment.Special - -' ' Text -' ' Text -'** a FFI class or implements any FFI mixins.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// CheckErrors' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Called during CheckErrors step for a type which extends' Comment.Special +'\n ' Text.Whitespace +'** a FFI class or implements any FFI mixins.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Void' Name.Class -' ' Text +' ' Text.Whitespace 'checkType' Name.Function '(' Punctuation 'TypeDef' Name.Class -' ' Text +' ' Text.Whitespace 'def' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// can't subclass a primitive array like ByteArray/byte[]\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// can't subclass a primitive array like ByteArray/byte[]" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'd' Text 'e' Text @@ -4107,9 +2840,9 @@ 'base' Name.Function '.' Operator 'deref' Name.Function -' ' Text +' ' Text.Whitespace 'is' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -4118,9 +2851,9 @@ 'y' Text 'p' Text 'e' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text @@ -4145,21 +2878,9 @@ 'a' Text 'y' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -4214,90 +2935,42 @@ 'e' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// we don't allow deep inheritance of Java classes because\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -"// the Fantom constructor and Java constructor model don't match\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// up past one level of inheritance\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// NOTE: that that when we remove this restriction we need to\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// test how field initialization works because instance$init\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// is almost certain to break with the current emit design\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +"// we don't allow deep inheritance of Java classes because" Comment.Single +'\n ' Text.Whitespace +"// the Fantom constructor and Java constructor model don't match" Comment.Single +'\n ' Text.Whitespace +'// up past one level of inheritance' Comment.Single +'\n ' Text.Whitespace +'// NOTE: that that when we remove this restriction we need to' Comment.Single +'\n ' Text.Whitespace +'// test how field initialization works because instance$init' Comment.Single +'\n ' Text.Whitespace +'// is almost certain to break with the current emit design' Comment.Single +'\n ' Text.Whitespace 'javaBase' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'base' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'while' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 'a' Text @@ -4307,14 +2980,14 @@ 'a' Text 's' Text 'e' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace '!' Operator 'j' Text 'a' Text @@ -4327,7 +3000,7 @@ '.' Operator 'isForeign' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'j' Text 'a' Text 'v' Text @@ -4336,9 +3009,9 @@ 'a' Text 's' Text 'e' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'j' Text 'a' Text 'v' Text @@ -4349,14 +3022,9 @@ 'e' Text '.' Operator 'base' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'j' Text 'a' Text @@ -4366,14 +3034,14 @@ 'a' Text 's' Text 'e' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'j' Text 'a' Text 'v' Text @@ -4382,32 +3050,20 @@ 'a' Text 's' Text 'e' Text -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'base' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -4464,64 +3120,32 @@ '$javaBase' Literal.String.Interpol '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// ensure that when we map Fantom constructors to Java\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -"// constructors that we don't have duplicate signatures\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// ensure that when we map Fantom constructors to Java' Comment.Single +'\n ' Text.Whitespace +"// constructors that we don't have duplicate signatures" Comment.Single +'\n ' Text.Whitespace 'ctors' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'f' Text '.' Operator 'ctorDefs' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text @@ -4529,32 +3153,20 @@ 's' Text '.' Operator 'each' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'MethodDef' Name.Class -' ' Text +' ' Text.Whitespace 'a' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text @@ -4562,47 +3174,31 @@ 's' Text '.' Operator 'each' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'MethodDef' Name.Class -' ' Text +' ' Text.Whitespace 'b' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'j' Name.Variable '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text -' ' Text +' ' Text.Whitespace '>' Operator -' ' Text +' ' Text.Whitespace 'j' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'e' Text @@ -4619,22 +3215,11 @@ '(' Punctuation 'a' Text ',' Text -' ' Text +' ' Text.Whitespace 'b' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'e' Text 'r' Text 'r' Text @@ -4706,112 +3291,73 @@ "'" Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'a' Text '.' Operator 'loc' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Do the two methods have the exact same parameter types.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Do the two methods have the exact same parameter types.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'areParamsSame' Name.Function '(' Punctuation 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'a' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'b' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text '.' Operator 'params' Name.Function '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text '.' Operator 'params' Name.Function '.' Operator 'size' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'for' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Name.Variable ':=' Operator '0' Literal.Number.Integer ';' Text -' ' Text +' ' Text.Whitespace 'i' Text '<' Operator 'a' Text @@ -4820,27 +3366,15 @@ '.' Operator 'size' Name.Function ';' Text -' ' Text +' ' Text.Whitespace '++' Operator 'i' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text '.' Operator @@ -4850,10 +3384,10 @@ ']' Operator '.' Operator 'paramType' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'b' Text '.' Operator 'params' Name.Function @@ -4863,104 +3397,58 @@ '.' Operator 'paramType' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Coercion\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Return if we can make the actual type fit the expected\n' Comment.Special - -' ' Text -' ' Text -'** type, potentially using a coercion.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Coercion' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Return if we can make the actual type fit the expected' Comment.Special +'\n ' Text.Whitespace +'** type, potentially using a coercion.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'fits' Name.Function '(' Punctuation 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'actual' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// use dummy expression and route to coerce code\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// use dummy expression and route to coerce code' Comment.Single +'\n ' Text.Whitespace 'dummy' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'U' Text 'n' Text 'k' Text @@ -4989,10 +3477,10 @@ '"' Punctuation ')' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'd' Literal.String 'u' Literal.String @@ -5001,42 +3489,32 @@ 'y' Literal.String '"' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'c' Text 't' Text 'y' Text 'p' Text 'e' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'c' Text 't' Text 'u' Text 'a' Text 'l' Text -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'fits' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5050,7 +3528,7 @@ 'm' Text 'y' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5060,117 +3538,79 @@ 'e' Text 'd' Text ')' Punctuation -' ' Text +' ' Text.Whitespace '|' Text '-' Operator '>' Operator '|' Text -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 't' Text 's' Text '=' Operator 'false' Keyword.Constant -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 't' Text 's' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Coerce expression to expected type. If not a type match\n' Comment.Special - -' ' Text -' ' Text -'** then run the onErr function.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Coerce expression to expected type. If not a type match' Comment.Special +'\n ' Text.Whitespace +'** then run the onErr function.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerce' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle easy case\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// handle easy case' Comment.Single +'\n ' Text.Whitespace 'actual' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'ctype' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5179,9 +3619,9 @@ 't' Text 'e' Text 'd' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5192,14 +3632,9 @@ 'd' Text '.' Operator 'deref' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5207,10 +3642,10 @@ 'u' Text 'a' Text 'l' Text -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5220,29 +3655,18 @@ 'e' Text 'd' Text ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle null literal\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle null literal' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -5250,11 +3674,11 @@ 'r' Text '.' Operator 'id' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'E' Text 'x' Text 'p' Text @@ -5263,9 +3687,9 @@ 'd' Text '.' Operator 'nullLiteral' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5277,36 +3701,18 @@ '.' Operator 'isNullable' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle Fantom to Java primitives\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle Fantom to Java primitives' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -5318,10 +3724,10 @@ 'd' Text '.' Operator 'pod' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'p' Text 'r' Text 'i' Text @@ -5333,16 +3739,9 @@ 'e' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5366,7 +3765,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5376,29 +3775,18 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle Java primitives to Fan\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle Java primitives to Fan' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5408,10 +3796,10 @@ 'l' Text '.' Operator 'pod' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'p' Text 'r' Text 'i' Text @@ -5423,16 +3811,9 @@ 'e' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5458,7 +3839,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5468,29 +3849,18 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle Java array to Fantom list\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle Java array to Fantom list' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5503,22 +3873,15 @@ '[' Operator '0' Literal.Number.Integer ']' Operator -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace "'['" Literal.String.Char ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5540,7 +3903,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5550,29 +3913,18 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle Fantom list to Java array\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle Fantom list to Java array' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -5587,22 +3939,15 @@ '[' Operator '0' Literal.Number.Integer ']' Operator -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace "'['" Literal.String.Char ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5622,7 +3967,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5632,34 +3977,23 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle sys::Func -> Java interface\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle sys::Func -> Java interface' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'actual' Name.Class -' ' Text +' ' Text.Whitespace 'is' Name.Variable -' ' Text +' ' Text.Whitespace 'F' Text 'u' Text 'n' Text @@ -5668,9 +4002,9 @@ 'y' Text 'p' Text 'e' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5681,9 +4015,9 @@ 'd' Text '.' Operator 'isMixin' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5694,9 +4028,9 @@ 'd' Text '.' Operator 'toNonNullable' Name.Function -' ' Text +' ' Text.Whitespace 'is' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -5706,16 +4040,9 @@ 'p' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'e' Text @@ -5743,7 +4070,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -5755,35 +4082,20 @@ '.' Operator 'toNonNullable' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// handle special classes and interfaces for built-in Fantom\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// classes which actually map directly to Java built-in types\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// handle special classes and interfaces for built-in Fantom' Comment.Single +'\n ' Text.Whitespace +'// classes which actually map directly to Java built-in types' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5793,12 +4105,9 @@ 'l' Text '.' Operator 'isBool' Name.Function -' ' Text -' ' Text -' ' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'b' Text 'o' Text 'o' Text @@ -5825,9 +4134,9 @@ 'signature' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'o' Text 'x' Text @@ -5837,14 +4146,9 @@ 'p' Text 'r' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5854,13 +4158,9 @@ 'l' Text '.' Operator 'isInt' Name.Function -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'i' Text 'n' Text 't' Text @@ -5886,9 +4186,9 @@ 'signature' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'o' Text 'x' Text @@ -5898,14 +4198,9 @@ 'p' Text 'r' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5915,11 +4210,9 @@ 'l' Text '.' Operator 'isFloat' Name.Function -' ' Text -' ' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'l' Text 'o' Text @@ -5947,9 +4240,9 @@ 'signature' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'b' Text 'o' Text 'x' Text @@ -5959,14 +4252,9 @@ 'p' Text 'r' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -5976,9 +4264,9 @@ 'l' Text '.' Operator 'isDecimal' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'd' Text 'e' Text 'c' Text @@ -6008,21 +4296,16 @@ 'signature' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -6032,13 +4315,9 @@ 'l' Text '.' Operator 'isStr' Name.Function -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 's' Text 't' Text 'r' Text @@ -6064,30 +4343,18 @@ 'signature' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// use normal Fantom coercion behavior\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// use normal Fantom coercion behavior' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'super' Name.Builtin.Pseudo '.' Operator 'coerce' Name.Function @@ -6097,7 +4364,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6107,59 +4374,37 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text 'r' Text 'r' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Ensure value type is boxed.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Ensure value type is boxed.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'private' Keyword -' ' Text +' ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'box' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -6170,16 +4415,9 @@ '.' Operator 'isVal' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -6201,7 +4439,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6211,112 +4449,65 @@ '.' Operator 'toNullable' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'else' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Coerce a fan expression to a Java primitive (other\n' Comment.Special - -' ' Text -' ' Text -'** than the ones we support natively)\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Coerce a fan expression to a Java primitive (other' Comment.Special +'\n ' Text.Whitespace +'** than the ones we support natively)' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerceToPrimitive' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'actual' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'ctype' Name.Function -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// sys::Int (long) -> int, short, byte\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// sys::Int (long) -> int, short, byte' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -6326,9 +4517,9 @@ 'l' Text '.' Operator 'isInt' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6340,16 +4531,9 @@ '.' Operator 'isPrimitiveIntLike' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -6371,7 +4555,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6381,22 +4565,11 @@ 'e' Text 'd' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// sys::Float (double) -> float\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// sys::Float (double) -> float' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -6406,9 +4579,9 @@ 'l' Text '.' Operator 'isFloat' Name.Function -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6420,16 +4593,9 @@ '.' Operator 'isPrimitiveFloat' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -6451,7 +4617,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6461,20 +4627,9 @@ 'e' Text 'd' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// no coercion - type error\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// no coercion - type error' Comment.Single +'\n ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -6482,77 +4637,50 @@ 'r' Text '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Coerce a Java primitive to a Fantom type.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Coerce a Java primitive to a Fantom type.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerceFromPrimitive' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'actual' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation 'J' Text 'a' Text @@ -6569,22 +4697,11 @@ 'r' Text '.' Operator 'ctype' Name.Function -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// int, short, byte -> sys::Int (long)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// int, short, byte -> sys::Int (long)' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -6595,23 +4712,11 @@ '.' Operator 'isPrimitiveIntLike' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -6623,9 +4728,9 @@ 'd' Text '.' Operator 'isInt' Name.Function -' ' Text +' ' Text.Whitespace '||' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6637,18 +4742,9 @@ '.' Operator 'isObj' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -6670,7 +4766,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6680,29 +4776,13 @@ 'e' Text 'd' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// float -> sys::Float (float)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// float -> sys::Float (float)' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -6713,23 +4793,11 @@ '.' Operator 'isPrimitiveFloat' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -6741,9 +4809,9 @@ 'd' Text '.' Operator 'isFloat' Name.Function -' ' Text +' ' Text.Whitespace '||' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6755,18 +4823,9 @@ '.' Operator 'isObj' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -6788,7 +4847,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -6798,27 +4857,11 @@ 'e' Text 'd' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// no coercion - type error\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// no coercion - type error' Comment.Single +'\n ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -6826,77 +4869,50 @@ 'r' Text '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Coerce a Java array to a Fantom list.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Coerce a Java array to a Fantom list.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerceFromArray' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'actual' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation 'J' Text 'a' Text @@ -6915,27 +4931,16 @@ 'ctype' Name.Function '.' Operator 'toNonNullable' Name.Function -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if expected is array type\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if expected is array type' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'expected' Name.Class -' ' Text +' ' Text.Whitespace 'is' Name.Variable -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -6944,9 +4949,9 @@ 'y' Text 'p' Text 'e' Text -' ' Text +' ' Text.Whitespace '&&' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation '(' Punctuation 'J' Text @@ -6970,16 +4975,9 @@ '.' Operator 'isArray' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -7016,29 +5014,18 @@ 'arrayOf' Name.Function ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if expected is Obj\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if expected is Obj' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -7051,9 +5038,9 @@ '.' Operator 'isObj' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'r' Text @@ -7071,7 +5058,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'a' Text 'c' Text 't' Text @@ -7081,22 +5068,11 @@ '.' Operator 'inferredArrayOf' Name.Function ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if expected is list type\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if expected is list type' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'e' Text 'x' Text @@ -7108,9 +5084,9 @@ 'd' Text '.' Operator 'toNonNullable' Name.Function -' ' Text +' ' Text.Whitespace 'is' Keyword -' ' Text +' ' Text.Whitespace 'L' Text 'i' Text 's' Text @@ -7120,25 +5096,13 @@ 'p' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'expectedOf' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation '(' Punctuation 'L' Text @@ -7163,16 +5127,9 @@ ')' Punctuation '.' Operator 'v' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -7197,9 +5154,9 @@ 'f' Text ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'r' Text @@ -7217,7 +5174,7 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -7229,27 +5186,11 @@ 'O' Text 'f' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// no coercion available\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// no coercion available' Comment.Single +'\n ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -7257,87 +5198,55 @@ 'r' Text '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Generate List.make(of, expr) where expr is Object[]\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Generate List.make(of, expr) where expr is Object[]' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'private' Keyword -' ' Text +' ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'arrayToList' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'of' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'loc' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'loc' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'ofExpr' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'L' Text 'i' Text 't' Text @@ -7354,7 +5263,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'E' Text 'x' Text 'p' Text @@ -7364,26 +5273,21 @@ '.' Operator 'typeLiteral' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'n' Text 's' Text '.' Operator 'typeType' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'f' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'call' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -7399,10 +5303,10 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'l' Text 'i' Text 's' Text @@ -7421,7 +5325,7 @@ 'a' Text 'y' Text ',' Text -' ' Text +' ' Text.Whitespace '[' Operator 'o' Text 'f' Text @@ -7430,116 +5334,79 @@ 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text ']' Operator ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'synthetic' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Coerce a Fantom list to Java array.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Coerce a Fantom list to Java array.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerceToArray' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'loc' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'loc' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'expectedOf' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation '(' Punctuation 'J' Text @@ -7564,38 +5431,22 @@ ')' Punctuation '.' Operator 'inferredArrayOf' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'actual' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'ctype' Name.Function -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// if actual is list type\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// if actual is list type' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -7605,9 +5456,9 @@ 'l' Text '.' Operator 'toNonNullable' Name.Function -' ' Text +' ' Text.Whitespace 'is' Keyword -' ' Text +' ' Text.Whitespace 'L' Text 'i' Text 's' Text @@ -7617,25 +5468,13 @@ 'p' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'actualOf' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation '(' Punctuation 'L' Text @@ -7658,16 +5497,9 @@ ')' Punctuation '.' Operator 'v' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'c' Text @@ -7692,39 +5524,15 @@ 'f' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// (Foo[])list.asArray(cls)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// (Foo[])list.asArray(cls)' Comment.Single +'\n ' Text.Whitespace 'clsLiteral' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -7740,10 +5548,10 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -7757,7 +5565,7 @@ '(' Punctuation 'this' Name.Builtin.Pseudo ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -7770,20 +5578,11 @@ 'f' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'asArray' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -7799,13 +5598,13 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace 'l' Text 'i' Text 's' Text @@ -7818,7 +5617,7 @@ 'a' Text 'y' Text ',' Text -' ' Text +' ' Text.Whitespace '[' Operator 'c' Text 'l' Text @@ -7832,18 +5631,9 @@ 'l' Text ']' Operator ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -7868,7 +5658,7 @@ 'a' Text 'y' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -7878,36 +5668,13 @@ 'e' Text 'd' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// no coercion available\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// no coercion available' Comment.Single +'\n ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -7915,103 +5682,65 @@ 'r' Text '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Attempt to coerce a parameterized sys::Func expr to a Java\n' Comment.Special - -' ' Text -' ' Text -'** interface if the interface supports exactly one matching method.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Attempt to coerce a parameterized sys::Func expr to a Java' Comment.Special +'\n ' Text.Whitespace +'** interface if the interface supports exactly one matching method.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'coerceFuncToInterface' Name.Function '(' Punctuation 'Expr' Name.Class -' ' Text +' ' Text.Whitespace 'expr' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '|' Punctuation '-' Punctuation '>' Punctuation '|' Punctuation -' ' Text +' ' Text.Whitespace 'onErr' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check if we have exactly one abstract method in the expected type\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// check if we have exactly one abstract method in the expected type' Comment.Single +'\n ' Text.Whitespace 'loc' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text '.' Operator 'loc' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'abstracts' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -8024,32 +5753,27 @@ 'methods' Name.Function '.' Operator 'findAll' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'm' Name.Variable '->' Punctuation 'Bool' Name.Class '|' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'm' Text '.' Operator 'isAbstract' Name.Function -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'a' Text 'b' Text @@ -8062,15 +5786,15 @@ 's' Text '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '!' Operator '=' Operator -' ' Text +' ' Text.Whitespace '1' Literal.Number.Integer ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -8079,25 +5803,20 @@ '(' Punctuation ')' Punctuation ';' Text -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'method' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'b' Text 's' Text @@ -8109,26 +5828,15 @@ 's' Text '.' Operator 'first' Name.Function -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check if we have a match\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// check if we have a match' Comment.Single +'\n ' Text.Whitespace 'FuncType' Name.Class -' ' Text +' ' Text.Whitespace 'funcType' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '(' Punctuation 'F' Text 'u' Text @@ -8145,14 +5853,9 @@ 'r' Text '.' Operator 'ctype' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'i' Text @@ -8187,7 +5890,7 @@ 'p' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8196,9 +5899,9 @@ 'd' Text ')' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'o' Text 'n' Text 'E' Text @@ -8207,48 +5910,32 @@ '(' Punctuation ')' Punctuation ';' Text -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text 'r' Text -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// check if we've already generated a wrapper for this combo\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +"// check if we've already generated a wrapper for this combo" Comment.Single +'\n ' Text.Whitespace 'key' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation '${funcType.signature}' Literal.String.Interpol '+' Literal.String '${method.qname}' Literal.String.Interpol '"' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'ctor' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -8266,47 +5953,30 @@ 'e' Text 'y' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'c' Text 't' Text 'o' Text 'r' Text -' ' Text +' ' Text.Whitespace '=' Operator '=' Operator -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'g' Text 'e' Text 'n' Text @@ -8345,7 +6015,7 @@ '.' Operator 'loc' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -8355,7 +6025,7 @@ 'p' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 'e' Text 'x' Text 'p' Text @@ -8365,7 +6035,7 @@ 'e' Text 'd' Text ',' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8373,14 +6043,7 @@ 'o' Text 'd' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -8398,38 +6061,22 @@ 'e' Text 'y' Text ']' Operator -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// replace expr with FuncWrapperX(expr)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'// replace expr with FuncWrapperX(expr)' Comment.Single +'\n ' Text.Whitespace 'call' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -8445,16 +6092,16 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text ',' Text -' ' Text +' ' Text.Whitespace '[' Operator 'e' Text 'x' Text @@ -8462,93 +6109,55 @@ 'r' Text ']' Operator ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'synthetic' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Return if the specified function type can be used to implement\n' Comment.Special - -' ' Text -' ' Text -'** the specified interface method.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Return if the specified function type can be used to implement' Comment.Special +'\n ' Text.Whitespace +'** the specified interface method.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'Bool' Name.Class -' ' Text +' ' Text.Whitespace 'isFuncToInterfaceMatch' Name.Function '(' Punctuation 'FuncType' Name.Class -' ' Text +' ' Text.Whitespace 'funcType' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'method' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -"// sanity check to map to callX method - can't handle more than 8 args\n" Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +"// sanity check to map to callX method - can't handle more than 8 args" Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text 'e' Text @@ -8560,37 +6169,22 @@ 'params' Name.Function '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '>' Operator -' ' Text +' ' Text.Whitespace '8' Literal.Number.Integer ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check if method is match for function; first check is that\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// method must supply all the arguments required by the function\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// check if method is match for function; first check is that' Comment.Single +'\n ' Text.Whitespace +'// method must supply all the arguments required by the function' Comment.Single +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'f' Text 'u' Text @@ -8604,9 +6198,9 @@ 'params' Name.Function '.' Operator 'size' Name.Function -' ' Text +' ' Text.Whitespace '>' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8618,28 +6212,17 @@ '.' Operator 'size' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check that func return type fits method return\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// check that func return type fits method return' Comment.Single +'\n ' Text.Whitespace 'retOk' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8650,9 +6233,9 @@ 'returnType' Name.Function '.' Operator 'isVoid' Name.Function -' ' Text +' ' Text.Whitespace '||' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 't' Text @@ -8669,7 +6252,7 @@ '.' Operator 'ret' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8679,14 +6262,9 @@ '.' Operator 'returnType' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'r' Text @@ -8695,28 +6273,17 @@ 'O' Text 'k' Text ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// check all the method parameters fit the function parameters\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// check all the method parameters fit the function parameters' Comment.Single +'\n ' Text.Whitespace 'paramsOk' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -8729,24 +6296,24 @@ 'params' Name.Function '.' Operator 'all' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'f' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '->' Punctuation 'Bool' Name.Class '|' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 't' Text @@ -8754,7 +6321,7 @@ '(' Punctuation 'f' Text ',' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -8769,16 +6336,11 @@ '.' Operator 'paramType' Name.Function ')' Punctuation -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation '!' Operator 'p' Text @@ -8790,154 +6352,77 @@ 'O' Text 'k' Text ')' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'false' Keyword.Constant -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'true' Keyword.Constant -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -'** Generate the wrapper which implements the specified expected interface\n' Comment.Special - -' ' Text -' ' Text -'** and overrides the specified method which calls the function.\n' Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +'** Generate the wrapper which implements the specified expected interface' Comment.Special +'\n ' Text.Whitespace +'** and overrides the specified method which calls the function.' Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'generateFuncToInterfaceWrapper' Name.Function '(' Punctuation 'Loc' Name.Class -' ' Text +' ' Text.Whitespace 'loc' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'FuncType' Name.Class -' ' Text +' ' Text.Whitespace 'funcType' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CType' Name.Class -' ' Text +' ' Text.Whitespace 'expected' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'method' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// Fantom: func typed as |Str|\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Java: interface Foo { void bar(String) }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Result: FuncWrapperX(func)\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'//\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// class FuncWrapperX : Foo\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// {\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// new make(Func f) { _func = f }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// override Void bar(Str a) { _func.call(a) }\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// Func _func\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text -'// }\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// generate FuncWrapper class\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'// Fantom: func typed as |Str|' Comment.Single +'\n ' Text.Whitespace +'// Java: interface Foo { void bar(String) }' Comment.Single +'\n ' Text.Whitespace +'// Result: FuncWrapperX(func)' Comment.Single +'\n ' Text.Whitespace +'//' Comment.Single +'\n ' Text.Whitespace +'// class FuncWrapperX : Foo' Comment.Single +'\n ' Text.Whitespace +'// {' Comment.Single +'\n ' Text.Whitespace +'// new make(Func f) { _func = f }' Comment.Single +'\n ' Text.Whitespace +'// override Void bar(Str a) { _func.call(a) }' Comment.Single +'\n ' Text.Whitespace +'// Func _func' Comment.Single +'\n ' Text.Whitespace +'// }' Comment.Single +'\n\n ' Text.Whitespace +'// generate FuncWrapper class' Comment.Single +'\n ' Text.Whitespace 'name' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation 'F' Literal.String 'u' Literal.String @@ -8951,9 +6436,9 @@ 'e' Literal.String 'r' Literal.String '"' Punctuation -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -8968,16 +6453,11 @@ 's' Text '.' Operator 'size' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'cls' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'T' Text 'y' Text 'p' Text @@ -8989,12 +6469,12 @@ 'n' Text 's' Text ',' Text -' ' Text +' ' Text.Whitespace 'l' Text 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'o' Text 'm' Text @@ -9011,13 +6491,13 @@ '.' Operator 'unit' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'n' Text 'a' Text 'm' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9026,9 +6506,9 @@ 't' Text '.' Operator 'Internal' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9038,38 +6518,28 @@ '.' Operator 'Synthetic' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'l' Text 's' Text '.' Operator 'base' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'n' Text 's' Text '.' Operator 'objType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'l' Text 's' Text '.' Operator 'mixins' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '[' Operator 'e' Text 'x' Text @@ -9080,12 +6550,7 @@ 'e' Text 'd' Text ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'a' Text 'd' Text 'd' Text @@ -9101,24 +6566,13 @@ 'l' Text 's' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// generate FuncWrapper._func field\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// generate FuncWrapper._func field' Comment.Single +'\n ' Text.Whitespace 'field' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'i' Text 'e' Text @@ -9132,17 +6586,12 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'l' Text 's' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '(' Punctuation '(' Punctuation 'S' Text @@ -9161,9 +6610,9 @@ ')' Punctuation '.' Operator 'name' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation '_' Literal.String 'f' Literal.String @@ -9171,12 +6620,7 @@ 'n' Literal.String 'c' Literal.String '"' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '(' Punctuation '(' Punctuation 'D' Text @@ -9195,9 +6639,9 @@ ')' Punctuation '.' Operator 'flags' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9206,9 +6650,9 @@ 't' Text '.' Operator 'Private' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9217,9 +6661,9 @@ 't' Text '.' Operator 'Storage' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9228,12 +6672,7 @@ 't' Text '.' Operator 'Synthetic' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'f' Text 'i' Text 'e' Text @@ -9241,9 +6680,9 @@ 'd' Text '.' Operator 'fieldType' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -9252,12 +6691,7 @@ 'y' Text 'p' Text 'e' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'l' Text 's' Text @@ -9270,24 +6704,13 @@ 'l' Text 'd' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// generate FuncWrapper.make constructor\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// generate FuncWrapper.make constructor' Comment.Single +'\n ' Text.Whitespace 'ctor' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'M' Text 'e' Text 't' Text @@ -9302,12 +6725,12 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'l' Text 's' Text ',' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'm' Literal.String 'a' Literal.String @@ -9315,7 +6738,7 @@ 'e' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9324,9 +6747,9 @@ 't' Text '.' Operator 'Internal' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9335,9 +6758,9 @@ 't' Text '.' Operator 'Ctor' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9347,41 +6770,30 @@ '.' Operator 'Synthetic' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text '.' Operator 'ret' Name.Function -' ' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'n' Text 's' Text '.' Operator 'voidType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text '.' Operator 'paramDefs' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '[' Operator 'P' Text 'a' Text @@ -9396,7 +6808,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -9406,27 +6818,22 @@ 'p' Text 'e' Text ',' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'f' Literal.String '"' Punctuation ')' Punctuation ']' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text '.' Operator 'code' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'B' Text 'l' Text 'o' Text @@ -9439,12 +6846,7 @@ 'o' Text 'c' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text @@ -9469,14 +6871,7 @@ '.' Operator 'makeAssign' Name.Function '(' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'F' Text 'i' Text 'e' Text @@ -9491,7 +6886,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'T' Text 'h' Text 'i' Text @@ -9506,7 +6901,7 @@ 'c' Text ')' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 'e' Text @@ -9514,14 +6909,7 @@ 'd' Text ')' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'U' Text 'n' Text 'k' Text @@ -9541,24 +6929,19 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace '"' Punctuation 'f' Literal.String '"' Punctuation ')' Punctuation -')' Text +')' Punctuation '.' Operator 'toStmt' Name.Function -')' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +')' Punctuation +'\n ' Text.Whitespace 'c' Text 't' Text 'o' Text @@ -9588,12 +6971,7 @@ 'c' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'l' Text 's' Text @@ -9605,24 +6983,13 @@ 'o' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// generate FuncWrapper override of abstract method\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// generate FuncWrapper override of abstract method' Comment.Single +'\n ' Text.Whitespace 'over' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'M' Text 'e' Text 't' Text @@ -9637,12 +7004,12 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'l' Text 's' Text ',' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -9652,7 +7019,7 @@ '.' Operator 'name' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9661,9 +7028,9 @@ 't' Text '.' Operator 'Public' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9672,9 +7039,9 @@ 't' Text '.' Operator 'Override' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -9684,21 +7051,16 @@ '.' Operator 'Synthetic' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text 'r' Text '.' Operator 'ret' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -9707,38 +7069,28 @@ 'd' Text '.' Operator 'returnType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text 'r' Text '.' Operator 'paramDefs' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'ParamDef' Name.Class '[,]' Literal -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text 'r' Text '.' Operator 'code' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'B' Text 'l' Text 'o' Text @@ -9751,32 +7103,22 @@ 'o' Text 'c' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'callArity' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation 'c' Literal.String 'a' Literal.String 'l' Literal.String 'l' Literal.String '"' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'call' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'C' Text 'a' Text 'l' Text @@ -9792,7 +7134,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'F' Text 'i' Text 'e' Text @@ -9807,7 +7149,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'T' Text 'h' Text 'i' Text @@ -9822,7 +7164,7 @@ 'c' Text ')' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'f' Text 'i' Text 'e' Text @@ -9830,7 +7172,7 @@ 'd' Text ')' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -9853,12 +7195,7 @@ 'y' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -9869,48 +7206,29 @@ 'params' Name.Function '.' Operator 'each' Name.Function -' ' Text +' ' Text.Whitespace '|' Punctuation 'CParam' Name.Class -' ' Text +' ' Text.Whitespace 'param' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace 'Int' Name.Class -' ' Text +' ' Text.Whitespace 'i' Name.Variable '|' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'paramName' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace '"' Punctuation 'p' Literal.String '$i' Literal.String.Interpol '"' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text @@ -9933,7 +7251,7 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'p' Text 'a' Text 'r' Text @@ -9942,7 +7260,7 @@ '.' Operator 'paramType' Name.Function ',' Text -' ' Text +' ' Text.Whitespace 'p' Text 'a' Text 'r' Text @@ -9954,21 +7272,14 @@ 'e' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'i' Text -' ' Text +' ' Text.Whitespace '<' Operator -' ' Text +' ' Text.Whitespace 'f' Text 'u' Text 'n' Text @@ -9982,16 +7293,7 @@ '.' Operator 'size' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text @@ -10020,10 +7322,10 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'null' Keyword.Constant ',' Text -' ' Text +' ' Text.Whitespace 'p' Text 'a' Text 'r' Text @@ -10035,21 +7337,11 @@ 'e' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'}' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n ' Text.Whitespace 'if' Keyword -' ' Text +' ' Text.Whitespace '(' Punctuation 'm' Text 'e' Text @@ -10062,14 +7354,7 @@ '.' Operator 'isVoid' Name.Function ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text @@ -10107,21 +7392,9 @@ 'c' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'else' Keyword -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'v' Text 'e' Text @@ -10148,19 +7421,14 @@ 'o' Text 'c' Text ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text ')' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'l' Text 's' Text @@ -10172,77 +7440,45 @@ 'e' Text 'r' Text ')' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -'// return the ctor which we use for coercion\n' Comment.Single - -' ' Text -' ' Text -' ' Text -' ' Text +'\n\n ' Text.Whitespace +'// return the ctor which we use for coercion' Comment.Single +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 't' Text 'o' Text 'r' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Reflection\n' Comment.Single - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -"** Get a CMethod representation for 'List.make(Type, Object[])'\n" Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace + +'// Reflection' Comment.Single +'\n' Text.Whitespace + +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +"** Get a CMethod representation for 'List.make(Type, Object[])'" Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'once' Keyword -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'listMakeFromArray' Name.Function '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -10254,28 +7490,14 @@ 'o' Text 'd' Text '(' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'this' Name.Builtin.Pseudo '.' Operator 'ns' Name.Function '.' Operator 'listType' Name.Function ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation 'm' Literal.String 'a' Literal.String @@ -10283,14 +7505,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -10299,9 +7514,9 @@ 't' Text '.' Operator 'Public' Name.Function -' ' Text +' ' Text.Whitespace '+' Operator -' ' Text +' ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -10311,14 +7526,7 @@ '.' Operator 'Static' Name.Function ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'this' Name.Builtin.Pseudo '.' Operator 'ns' Name.Function @@ -10327,25 +7535,9 @@ '.' Operator 'toNullable' Name.Function ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -10361,7 +7553,7 @@ 'f' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'this' Name.Builtin.Pseudo '.' Operator 'ns' Name.Function @@ -10369,16 +7561,7 @@ 'typeType' Name.Function ')' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -10397,7 +7580,7 @@ 'y' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'o' Text 'b' Text 'j' Text @@ -10414,59 +7597,30 @@ 'p' Text 'e' Text ')' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -')' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -"** Get a CMethod representation for 'Object[] List.asArray()'\n" Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +')' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +"** Get a CMethod representation for 'Object[] List.asArray()'" Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'once' Keyword -' ' Text +' ' Text.Whitespace 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'listAsArray' Name.Function '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -10478,28 +7632,14 @@ 'o' Text 'd' Text '(' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'this' Name.Builtin.Pseudo '.' Operator 'ns' Name.Function '.' Operator 'listType' Name.Function ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation 'a' Literal.String 's' Literal.String @@ -10510,14 +7650,7 @@ 'y' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'F' Text 'C' Text 'o' Text @@ -10527,14 +7660,7 @@ '.' Operator 'Public' Name.Function ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'o' Text 'b' Text 'j' Text @@ -10551,14 +7677,7 @@ 'p' Text 'e' Text ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '[' Operator 'J' Text 'a' Text @@ -10576,7 +7695,7 @@ 's' Literal.String '"' Punctuation ',' Text -' ' Text +' ' Text.Whitespace 'c' Text 'l' Text 'a' Text @@ -10588,50 +7707,28 @@ 'e' Text ')' Punctuation ']' Operator -')' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -"** Get a CType representation for 'java.lang.Class'\n" Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +')' Punctuation +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +"** Get a CType representation for 'java.lang.Class'" Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'once' Keyword -' ' Text +' ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'classType' Name.Function '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'n' Text 's' Text '.' Operator @@ -10662,49 +7759,27 @@ 's' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text -"** Get a CType representation for 'java.lang.Object[]'\n" Comment.Special - -' ' Text -' ' Text -'**\n' Comment.Special - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace +"** Get a CType representation for 'java.lang.Object[]'" Comment.Special +'\n ' Text.Whitespace +'**' Comment.Special +'\n ' Text.Whitespace 'once' Keyword -' ' Text +' ' Text.Whitespace 'JavaType' Name.Class -' ' Text +' ' Text.Whitespace 'objectArrayType' Name.Function '(' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'n' Text 's' Text '.' Operator @@ -10737,47 +7812,35 @@ 't' Literal.String '"' Punctuation ')' Punctuation -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single - -'// Fields\n' Comment.Single +'\n ' Text.Whitespace +'}' Punctuation +'\n\n' Text.Whitespace -'//////////////////////////////////////////////////////////////////////////\n' Comment.Single +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n' Text.Whitespace -'\n' Text +'// Fields' Comment.Single +'\n' Text.Whitespace -' ' Text -' ' Text +'//////////////////////////////////////////////////////////////////////////' Comment.Single +'\n\n ' Text.Whitespace 'const' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'boolTypes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -10808,12 +7871,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -10844,39 +7902,26 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'const' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'intTypes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -10903,12 +7948,7 @@ 'r' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -10939,12 +7979,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -10975,39 +8010,26 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'const' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'floatTypes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11034,12 +8056,7 @@ 'r' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11070,12 +8087,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11106,39 +8118,26 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'const' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'decimalTypes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11165,12 +8164,7 @@ 'r' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11201,12 +8195,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11237,39 +8226,26 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'const' Keyword -' ' Text +' ' Text.Whitespace 'static' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class '[' Punctuation ']' Punctuation -' ' Text +' ' Text.Whitespace 'strTypes' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'S' Text 't' Text 'r' Text '[' Operator -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11300,12 +8276,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11338,12 +8309,7 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace '"' Punctuation '[' Literal.String 'j' Literal.String @@ -11374,23 +8340,15 @@ 'e' Literal.String '"' Punctuation ',' Text -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace ']' Operator -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'JavaPrimitives' Name.Class -' ' Text +' ' Text.Whitespace 'primitives' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'J' Text 'a' Text 'v' Text @@ -11408,135 +8366,100 @@ '(' Punctuation 'this' Name.Builtin.Pseudo ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace 'ClassPath' Name.Class -' ' Text +' ' Text.Whitespace 'cp' Name.Variable -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'private' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class ':' Punctuation 'CMethod' Name.Class -' ' Text +' ' Text.Whitespace 'funcWrappers' Name.Variable -' ' Text +' ' Text.Whitespace ':=' Operator -' ' Text +' ' Text.Whitespace 'Str' Name.Class ':' Punctuation 'CMethod' Name.Class '[:]' Literal -' ' Text -' ' Text -'// funcType+method:ctor\n' Comment.Single - -'\n' Text +' ' Text.Whitespace +'// funcType+method:ctor' Comment.Single +'\n\n' Text.Whitespace '}' Text -'\n' Text - -'\n' Text - -'**************************************************************************\n' Comment.Special +'\n\n' Text.Whitespace -'** CallMatch\n' Comment.Special +'**************************************************************************' Comment.Special +'\n' Text.Whitespace -'**************************************************************************\n' Comment.Special +'** CallMatch' Comment.Special +'\n' Text.Whitespace -'\n' Text +'**************************************************************************' Comment.Special +'\n\n' Text.Whitespace 'internal' Keyword -' ' Text +' ' Text.Whitespace 'class' Keyword -' ' Text +' ' Text.Whitespace 'CallMatch' Name.Class -'\n' Text +'\n' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'apply' Name.Function '(' Punctuation 'CallExpr' Name.Class -' ' Text +' ' Text.Whitespace 'call' Name.Variable ')' Punctuation -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace '{' Punctuation -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'args' Name.Function -' ' Text -' ' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'a' Text 'r' Text 'g' Text 's' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'method' Name.Function -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text 'h' Text 'o' Text 'd' Text -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text '.' Operator 'ctype' Name.Function -' ' Text -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -11545,9 +8468,9 @@ 'd' Text '.' Operator 'isCtor' Name.Function -' ' Text +' ' Text.Whitespace '?' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -11556,9 +8479,9 @@ 'd' Text '.' Operator 'parent' Name.Function -' ' Text +' ' Text.Whitespace ':' Text -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -11567,41 +8490,28 @@ 'd' Text '.' Operator 'returnType' Name.Function -'\n' Text - -' ' Text -' ' Text -' ' Text -' ' Text +'\n ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'c' Text 'a' Text 'l' Text 'l' Text -'\n' Text - -' ' Text -' ' Text -'}' Text -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n ' Text.Whitespace +'}' Punctuation +'\n\n ' Text.Whitespace 'override' Keyword -' ' Text +' ' Text.Whitespace 'Str' Name.Class -' ' Text +' ' Text.Whitespace 'toStr' Name.Function '(' Punctuation ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -' ' Text +' ' Text.Whitespace 'return' Keyword -' ' Text +' ' Text.Whitespace 'm' Text 'e' Text 't' Text @@ -11610,40 +8520,25 @@ 'd' Text '.' Operator 'signature' Name.Function -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text - -'\n' Text - -' ' Text -' ' Text +'\n\n ' Text.Whitespace 'CMethod' Name.Class '?' Punctuation -' ' Text +' ' Text.Whitespace 'method' Name.Variable -' ' Text -' ' Text -' ' Text -' ' Text -'// matched method\n' Comment.Single - -' ' Text -' ' Text +' ' Text.Whitespace +'// matched method' Comment.Single +'\n ' Text.Whitespace 'Expr' Name.Class '[' Punctuation ']' Punctuation '?' Punctuation -' ' Text +' ' Text.Whitespace 'args' Name.Variable -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -' ' Text -'// coerced arguments\n' Comment.Single +' ' Text.Whitespace +'// coerced arguments' Comment.Single +'\n' Text.Whitespace '}' Text -'\n' Text +'\n' Text.Whitespace |
