Package org.jruby.ir
Class IRClassBody
java.lang.Object
org.jruby.ir.IRScope
org.jruby.ir.IRModuleBody
org.jruby.ir.IRClassBody
- All Implemented Interfaces:
ParseResult
- Direct Known Subclasses:
IRMetaClassBody
-
Field Summary
Fields inherited from class org.jruby.ir.IRScope
compilable, fullInterpreterContext, interpreterContext, LOG, nextClosureIndex, optimizedInterpreterContext
-
Constructor Summary
ConstructorsConstructorDescriptionIRClassBody
(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope scope, boolean executesOnce) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Is this IRClassBody but not IRMetaClassBody?Methods inherited from class org.jruby.ir.IRModuleBody
cleanupAfterExecution, executesOnce, getNearestModuleReferencingScopeDepth, isModuleBody
Methods inherited from class org.jruby.ir.IRScope
accessesParentsLocalVariables, addChildScope, addClosure, allocateInitialFlags, allocateInterpreterContext, allocateInterpreterContext, anyUsesEval, buildJVMExceptionTable, builtInterpreterContext, canCaptureCallersBinding, canReceiveBreaks, canReceiveNonlocalReturns, captureParentRefinements, correctVariableDepthForForLoopsForEncoding, debugOutput, depends, dumpToIGV, equals, findExistingLocalVariable, getAST, getByteName, getClosures, getCoverageMode, getDynamicScope, getEncoding, getExecutedPasses, getExecutionContext, getFile, getFileName, getFullInterpreterContext, getFullyQualifiedName, getId, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLocalVariable, getLocalVariables, getManager, getName, getNearestMethod, getNearestNonClosurelikeScope, getNearestTopLocalVariableScope, getNewLabel, getNewLabel, getNewLocalVariable, getNextClosureId, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, hasBeenBuilt, hasBreakInstructions, hasFlipFlops, hashCode, hasLoops, hasNonLocalReturns, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isNestedInClosure, isRuby2Keywords, isScopeContainedBy, isScriptScope, isTopLocalVariableScope, isWhereFlipFlopStateVariableIs, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsCodeCoverage, parentMaybeUsingRefinements, persistScopeFlags, persistScopeHeader, prepareForCompilation, prepareFullBuild, receivesClosureArg, receivesKeywordArgs, removeClosure, setAccessesParentsLocalVariables, setByteName, setCanCaptureCallersBinding, setCanReceiveBreaks, setCanReceiveNonlocalReturns, setCoverageMode, setFileName, setHasBreakInstructions, setHasFlipFlops, setHasLoops, setHasNonLocalReturns, setIsMaybeUsingRefinements, setNeedsCodeCoverage, setNextLabelIndex, setReceivesClosureArg, setReceivesKeywordArgs, setRuby2Keywords, setUsesEval, setUsesSuper, setUsesZSuper, toString, toStringCompileForm, toStringInstrs, usesEval, usesSuper, usesZSuper
-
Constructor Details
-
IRClassBody
public IRClassBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope scope, boolean executesOnce)
-
-
Method Details
-
getScopeType
- Overrides:
getScopeType
in classIRModuleBody
-
isNonSingletonClassBody
public boolean isNonSingletonClassBody()Description copied from class:IRScope
Is this IRClassBody but not IRMetaClassBody?- Overrides:
isNonSingletonClassBody
in classIRScope
-