org.jruby.ir.IRMetaClassBody Maven / Gradle / Ivy
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy