forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIRMetaClassBody.java
More file actions
32 lines (26 loc) · 927 Bytes
/
Copy pathIRMetaClassBody.java
File metadata and controls
32 lines (26 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package org.jruby.ir;
import org.jruby.parser.StaticScope;
import org.jruby.ir.operands.LocalVariable;
import org.jruby.ir.operands.Variable;
public class IRMetaClassBody extends IRClassBody {
public IRMetaClassBody(IRManager manager, IRScope lexicalParent, String name,
int lineNumber, StaticScope scope) {
super(manager, lexicalParent, name, lineNumber, scope);
}
public IRMetaClassBody(IRManager manager, IRScope lexicalParent, String name,
String fileName, int lineNumber, StaticScope scope) {
super(manager, lexicalParent, name, fileName, lineNumber, scope);
}
@Override
public String getScopeName() {
return "MetaClassBody";
}
@Override
public LocalVariable getImplicitBlockArg() {
return getLocalVariable(Variable.BLOCK, 0);
}
@Override
public boolean isNonSingletonClassBody() {
return false;
}
}