Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–35 unchanged (35 lines)
36
37 protected CoreOperationRelationalExpression(Expression[] args) {
38 super(args);
39 }
40
41 public final Object computeValue(EvalContext context) {
42 return compute(args[0].computeValue(context), args[1].computeValue(context))
43 ? Boolean.TRUE : Boolean.FALSE;
44 }
45
46 protected final int getPrecedence() {
47 return 3;
48 }
…lines 49–120 unchanged (72 lines)

After

…lines 1–35 unchanged (35 lines)
36
37 protected CoreOperationRelationalExpression(Expression[] args) {
38 super(args);
39 }
40
41 public final Object computeValue(EvalContext context) {
42 return compute(args[0].compute(context), args[1].compute(context))
43 ? Boolean.TRUE : Boolean.FALSE;
44 }
45
46 protected final int getPrecedence() {
47 return 3;
48 }
…lines 49–120 unchanged (72 lines)

Before

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "compiler"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "HashSet"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "EvalContext"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "InfoSetUtil"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration (+22 nodes collapsed)
block_comment "/**\n * Base implementation of Expression for the operations "...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "CoreOperationRelationalExpression"
superclass
extends "extends"
type_identifier "CoreOperation"
class_body
{ "{"
constructor_declaration (+24 nodes collapsed)
method_declaration
modifiers
public "public"
final "final"
type_identifier "Object"
identifier "computeValue"
formal_parameters
( "("
formal_parameter
type_identifier "EvalContext"
identifier "context"
) ")"
block
{ "{"
return_statement
return "return"
ternary_expression
method_invocation
identifier "compute"
argument_list
( "("
method_invocation
array_access
identifier "args"
[ "["
decimal_integer_literal "0"
] "]"
. "."
identifier "computeValue"
argument_list
( "("
identifier "context"
) ")"
, ","
method_invocation
array_access
identifier "args"
[ "["
decimal_integer_literal "1"
] "]"
. "."
identifier "computeValue"
argument_list
( "("
identifier "context"
) ")"
) ")"
? "?"
field_access
identifier "Boolean"
. "."
identifier "TRUE"
: ":"
field_access
identifier "Boolean"
. "."
identifier "FALSE"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
final "final"
integral_type
int "int"
identifier "getPrecedence"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
decimal_integer_literal "3"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
final "final"
boolean_type "boolean"
identifier "isSymmetric"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
false "false"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
abstract "abstract"
boolean_type "boolean"
identifier "evaluateCompare"
formal_parameters
( "("
formal_parameter
integral_type
int "int"
identifier "compare"
) ")"
; ";"
method_declaration (+284 nodes collapsed)
method_declaration (+80 nodes collapsed)
method_declaration (+70 nodes collapsed)
method_declaration (+112 nodes collapsed)
} "}"

After

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "compiler"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "HashSet"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "EvalContext"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "jxpath"
. "."
identifier "ri"
. "."
identifier "InfoSetUtil"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration (+22 nodes collapsed)
block_comment "/**\n * Base implementation of Expression for the operations "...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "CoreOperationRelationalExpression"
superclass
extends "extends"
type_identifier "CoreOperation"
class_body
{ "{"
constructor_declaration (+24 nodes collapsed)
method_declaration
modifiers
public "public"
final "final"
type_identifier "Object"
identifier "computeValue"
formal_parameters
( "("
formal_parameter
type_identifier "EvalContext"
identifier "context"
) ")"
block
{ "{"
return_statement
return "return"
ternary_expression
method_invocation
identifier "compute"
argument_list
( "("
method_invocation
array_access
identifier "args"
[ "["
decimal_integer_literal "0"
] "]"
. "."
identifier "compute"
argument_list
( "("
identifier "context"
) ")"
, ","
method_invocation
array_access
identifier "args"
[ "["
decimal_integer_literal "1"
] "]"
. "."
identifier "compute"
argument_list
( "("
identifier "context"
) ")"
) ")"
? "?"
field_access
identifier "Boolean"
. "."
identifier "TRUE"
: ":"
field_access
identifier "Boolean"
. "."
identifier "FALSE"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
final "final"
integral_type
int "int"
identifier "getPrecedence"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
decimal_integer_literal "3"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
final "final"
boolean_type "boolean"
identifier "isSymmetric"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
false "false"
; ";"
} "}"
method_declaration
modifiers
protected "protected"
abstract "abstract"
boolean_type "boolean"
identifier "evaluateCompare"
formal_parameters
( "("
formal_parameter
integral_type
int "int"
identifier "compare"
) ")"
; ";"
method_declaration (+284 nodes collapsed)
method_declaration (+80 nodes collapsed)
method_declaration (+70 nodes collapsed)
method_declaration (+112 nodes collapsed)
} "}"