File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
core/src/main/java/org/jruby/truffle/nodes/core Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. This
3
+ * code is released under a tri EPL/GPL/LGPL license. You can use it,
4
+ * redistribute it and/or modify it under the terms of the:
5
+ *
6
+ * Eclipse Public License version 1.0
7
+ * GNU General Public License version 2
8
+ * GNU Lesser General Public License version 2.1
9
+ */
10
+ package org .jruby .truffle .nodes .core ;
11
+
12
+ import com .oracle .truffle .api .dsl .NodeChild ;
13
+ import com .oracle .truffle .api .dsl .NodeChildren ;
14
+ import com .oracle .truffle .api .source .SourceSection ;
15
+ import org .jruby .truffle .nodes .RubyNode ;
16
+ import org .jruby .truffle .runtime .RubyContext ;
17
+
18
+ @ NodeChildren ({
19
+ @ NodeChild (value = "left" , type = RubyNode .class ),
20
+ @ NodeChild (value = "right" , type = RubyNode .class )})
21
+ public abstract class BinaryCoreMethodNode extends RubyNode {
22
+
23
+ public BinaryCoreMethodNode (RubyContext context , SourceSection sourceSection ) {
24
+ super (context , sourceSection );
25
+ }
26
+
27
+ public BinaryCoreMethodNode (BinaryCoreMethodNode prev ) {
28
+ super (prev );
29
+ }
30
+
31
+ public abstract RubyNode getLeft ();
32
+
33
+ public abstract RubyNode getRight ();
34
+
35
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. This
3
+ * code is released under a tri EPL/GPL/LGPL license. You can use it,
4
+ * redistribute it and/or modify it under the terms of the:
5
+ *
6
+ * Eclipse Public License version 1.0
7
+ * GNU General Public License version 2
8
+ * GNU Lesser General Public License version 2.1
9
+ */
10
+ package org .jruby .truffle .nodes .core ;
11
+
12
+ import com .oracle .truffle .api .dsl .NodeChild ;
13
+ import com .oracle .truffle .api .dsl .NodeChildren ;
14
+ import com .oracle .truffle .api .source .SourceSection ;
15
+ import org .jruby .truffle .nodes .RubyNode ;
16
+ import org .jruby .truffle .runtime .RubyContext ;
17
+
18
+ @ NodeChild (value = "operand" , type = RubyNode .class )
19
+ public abstract class UnaryCoreMethodNode extends RubyNode {
20
+
21
+ public UnaryCoreMethodNode (RubyContext context , SourceSection sourceSection ) {
22
+ super (context , sourceSection );
23
+ }
24
+
25
+ public UnaryCoreMethodNode (UnaryCoreMethodNode prev ) {
26
+ super (prev );
27
+ }
28
+
29
+ public abstract RubyNode getOperand ();
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments