public class ScopedParserState
extends java.lang.Object
| Constructor and Description |
|---|
ScopedParserState(ScopedParserState enclosingScope) |
ScopedParserState(ScopedParserState enclosingScope,
long commandArgumentStack,
long condArgumentStack) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinedVariable(RubySymbol name,
int line) |
long |
getCommandArgumentStack() |
long |
getCondArgumentStack() |
ScopedParserState |
getEnclosingScope() |
void |
growNamedCaptures(int index) |
boolean |
isNamedCapture(int index) |
void |
markUsedVariable(RubySymbol name,
int depth) |
void |
setCommandArgumentStack(long commandArgumentStack) |
void |
setCondArgumentStack(long condArgumentStack) |
void |
warnUnusedVariables(Ruby runtime,
IRubyWarnings warnings,
java.lang.String file) |
public ScopedParserState(ScopedParserState enclosingScope)
public ScopedParserState(ScopedParserState enclosingScope, long commandArgumentStack, long condArgumentStack)
public void setCondArgumentStack(long condArgumentStack)
public long getCondArgumentStack()
public void setCommandArgumentStack(long commandArgumentStack)
public long getCommandArgumentStack()
public ScopedParserState getEnclosingScope()
public void growNamedCaptures(int index)
public boolean isNamedCapture(int index)
public void addDefinedVariable(RubySymbol name, int line)
public void markUsedVariable(RubySymbol name, int depth)
public void warnUnusedVariables(Ruby runtime, IRubyWarnings warnings, java.lang.String file)
Copyright © 2001-2022 JRuby. All Rights Reserved.