| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final RegexpOptions | |
| private final BuildDynRegExpInstr. |
| Access | Constructor and Description |
|---|---|
| private | BuildDynRegExpInstr(Variable result, Operand[] pieces, RegexpOptions options, BuildDynRegExpInstr.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private RubyRegexp | buildRegexp(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
|
| public Instr | clone(CloneInfo
This object manages renaming of variables and labels, handles
args and return values. ii)Implements abstract org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). |
| public static BuildDynRegExpInstr | |
| public void | |
| public RegexpOptions | |
| public Operand[] | |
| public RubyRegexp | |
| public Object | interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Overrides org.
|
| private RubyString[] | retrievePieces(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)
|
| public String[] | |
| public void |
| options | back to summary |
|---|---|
| private final RegexpOptions options | |
| reCache | back to summary |
|---|---|
| private final BuildDynRegExpInstr. | |
| BuildDynRegExpInstr | back to summary |
|---|---|
| private BuildDynRegExpInstr(Variable result, Operand[] pieces, RegexpOptions options, BuildDynRegExpInstr. | |
| BuildDynRegExpInstr | back to summary |
|---|---|
| public BuildDynRegExpInstr(Variable result, Operand[] pieces, RegexpOptions options) | |
| buildRegexp | back to summary |
|---|---|
| private RubyRegexp buildRegexp(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) | |
| clone | back to summary |
|---|---|
| public Instr clone(CloneInfo ii) Implements abstract org. Doc from org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. | |
| decode | back to summary |
|---|---|
| public static BuildDynRegExpInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getOptions | back to summary |
|---|---|
| public RegexpOptions getOptions() | |
| getPieces | back to summary |
|---|---|
| public Operand[] getPieces() | |
| getRegexp | back to summary |
|---|---|
| public RubyRegexp getRegexp() | |
| interpret | back to summary |
|---|---|
| public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) Overrides org.
| |
| retrievePieces | back to summary |
|---|---|
| private RubyString[] retrievePieces(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) | |
| toStringNonOperandArgs | back to summary |
|---|---|
| public String[] toStringNonOperandArgs() Overrides org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private volatile RubyRegexp | |
| private static final AtomicReferenceFieldUpdater |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| rubyRegexp | back to summary |
|---|---|
| private volatile RubyRegexp rubyRegexp | |
| UPDATER | back to summary |
|---|---|
| private static final AtomicReferenceFieldUpdater<BuildDynRegExpInstr. | |
| RECache | back to summary |
|---|---|
| private RECache() | |
| updateCache | back to summary |
|---|---|
| public void updateCache(boolean isOnce, RubyRegexp re) | |