buildAST(boolean isCommandLineScript, String arg)buildArgsCat(org.jruby.ir.operands.Variable result, org.jruby.ast.ArgsCatNode argsCatNode)buildArgsMasgn(org.jruby.ast.Node node, org.jruby.ir.operands.Operand argsArray, boolean isMasgnRoot, int preArgsCount, int postArgsCount, int index, boolean isSplat)buildArgsPush(org.jruby.ir.operands.Variable result, org.jruby.ast.ArgsPushNode node)buildBackref(org.jruby.ir.operands.Variable result, org.jruby.ast.BackRefNode node)Build a new class and add it to the current scope (s).
buildClassVar(org.jruby.ir.operands.Variable result, org.jruby.ast.ClassVarNode node)buildClassVarAsgn(org.jruby.ast.ClassVarAsgnNode node)buildColon2(org.jruby.ir.operands.Variable result, org.jruby.ast.Colon2Node colon2)buildColon3(org.jruby.ir.operands.Variable result, org.jruby.ast.Colon3Node node)buildConstDecl(org.jruby.ast.ConstDeclNode node)buildConstDeclAssignment(org.jruby.ast.ConstDeclNode constDeclNode, org.jruby.ir.builder.IRBuilder.CodeBlock valueBuilder)buildDRegexp(org.jruby.ir.operands.Variable result, org.jruby.ast.DRegexpNode node)buildDSymbol(org.jruby.ir.operands.Variable result, org.jruby.ast.DSymbolNode node)buildEnsureNode(org.jruby.ast.EnsureNode ensureNode)buildGlobalAsgn(org.jruby.ast.GlobalAsgnNode node)buildLiteral(org.jruby.ast.LiteralNode literalNode)buildLocalAsgn(org.jruby.ast.LocalAsgnNode localAsgnNode)buildMatch2(org.jruby.ir.operands.Variable result, org.jruby.ast.Match2Node matchNode)buildMatch3(org.jruby.ir.operands.Variable result, org.jruby.ast.Match3Node matchNode)buildMultipleAsgn(org.jruby.ast.MultipleAsgnNode multipleAsgnNode)buildMultipleAssignment(org.jruby.ast.MultipleAsgnNode multipleAsgnNode, org.jruby.ir.operands.Operand values)buildMultipleAssignment2(org.jruby.ast.MultipleAsgnNode multipleAsgnNode, List<org.jruby.ir.Tuple<org.jruby.ast.Node,org.jruby.ir.instructions.ResultInstr>> assigns, Map<org.jruby.ast.Node,org.jruby.ir.operands.Operand> reads, org.jruby.ir.operands.Variable values)buildMultipleAssignmentArgs(org.jruby.ast.MultipleAsgnNode multipleAsgnNode, org.jruby.ir.operands.Operand argsArray)buildOpAsgnAnd(org.jruby.ast.OpAsgnAndNode node)buildOpAsgnConstDeclNode(org.jruby.ast.OpAsgnConstDeclNode node)buildOpAsgnOr(org.jruby.ast.OpAsgnOrNode orNode)buildOpElementAsgn(org.jruby.ast.OpElementAsgnNode node)buildPatternCase(org.jruby.ast.PatternCaseNode node)buildPostExe(org.jruby.ast.PostExeNode postExeNode)buildPreExe(org.jruby.ast.PreExeNode preExeNode)buildReturn(org.jruby.ast.ReturnNode returnNode)buildSValue(org.jruby.ir.operands.Variable result, org.jruby.ast.SValueNode node)buildVAlias(org.jruby.ast.VAliasNode valiasNode)buildZSuper(org.jruby.ir.operands.Variable result, org.jruby.ast.ZSuperNode node)getLocalVariable(org.jruby.RubySymbol name, int scopeDepth)newIRBuilder(org.jruby.ir.IRManager manager, org.jruby.ir.IRScope newScope)Process all arguments specified for this scope. This includes pre args (required args at the beginning of the argument list), opt args (arguments with a default value), a rest arg (catch-all for argument list overflow), post args (required arguments after a rest arg) and a block arg (to reify an incoming block into a Proc object.
| name | type | description |
|---|---|---|
| args_node | org.jruby.ast.ArgsNode | the args node containing the specification for the arguments |
| field | type | note |
|---|---|---|
| evalType | EvalType | |
| executesOnce | boolean | |
| underscoreVariableSeen | boolean |
addArgumentDescription(org.jruby.runtime.ArgumentType type, org.jruby.RubySymbol name)addInstrAtBeginning(org.jruby.ir.instructions.Instr instr)buildEvalRoot(org.jruby.ParseResult rootNode)buildLambda(U args, U body, org.jruby.parser.StaticScope staticScope, org.jruby.runtime.Signature signature, int line)buildVAlias(org.jruby.RubySymbol left, org.jruby.RubySymbol right)computeScopeFlagsFrom(List<org.jruby.ir.instructions.Instr> instructions)getCurrentModuleVariable() · also: get_current_module_variabledefineMethodInner(org.jruby.ir.builder.LazyMethodDefinition<U,V,W,X,Y,Z> defNode, org.jruby.ir.IRScope parent, int coverageMode)determineZSuperCallArgs(org.jruby.ir.IRScope scope, org.jruby.ir.builder.IRBuilder<U,V,W,X,Y,Z> builder, List<org.jruby.ir.operands.Operand> callArgs, List<org.jruby.util.KeyValuePair<org.jruby.ir.operands.Operand,org.jruby.ir.operands.Operand>> keywordArgs)getNewLocalVariable(org.jruby.RubySymbol name, int scopeDepth)getYieldClosureVariable() · also: get_yield_closure_variableGet the variable for accessing the "yieldable" closure in this scope.