|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ILocalVariable | |
|---|---|
| org.jrubyparser.ast | |
| org.jrubyparser.util | |
| Uses of ILocalVariable in org.jrubyparser.ast |
|---|
| Subinterfaces of ILocalVariable in org.jrubyparser.ast | |
|---|---|
interface |
IParameter
For 1.9+ we can tell if a node is a parameter or not. |
| Classes in org.jrubyparser.ast that implement ILocalVariable | |
|---|---|
class |
ArgumentNode
Simple Node that allows editor projects to keep position info in AST (evaluation does not need this). |
class |
BlockArgNode
An explicit block argument (&my_block) in a declaration (at call sites see BlockPassNode). |
class |
DAsgnNode
An assignment to a dynamic variable (e.g. |
class |
DVarNode
Access a dynamic variable (e.g. |
class |
KeywordRestArgNode
|
class |
LocalAsgnNode
An assignment to a local variable. |
class |
LocalVarNode
Access a local variable |
class |
RestArgNode
|
class |
TypedArgumentNode
|
class |
UnnamedRestArgNode
a bare '*' |
| Methods in org.jrubyparser.ast that return ILocalVariable | |
|---|---|
ILocalVariable |
LocalVarNode.getDeclaration()
Declaration is the first parameter value (ArgumentNode) or the first LocalAsgnNode. |
ILocalVariable |
LocalAsgnNode.getDeclaration()
Return parameter if this local assignment is referring to a parameter since that clearly is the declaration. |
ILocalVariable |
ILocalVariable.getDeclaration()
Retrieve the node which is responsible for declaring this one. |
ILocalVariable |
DVarNode.getDeclaration()
|
ILocalVariable |
DAsgnNode.getDeclaration()
|
ILocalVariable |
BlockArgNode.getDeclaration()
|
ILocalVariable |
ArgumentNode.getDeclaration()
|
ILocalVariable |
MethodDefNode.getParameterNamed(String name)
|
ILocalVariable |
IterNode.getParameterNamed(String name)
|
ILocalVariable |
IParameterScope.getParameterNamed(String name)
|
| Uses of ILocalVariable in org.jrubyparser.util |
|---|
| Methods in org.jrubyparser.util that return ILocalVariable | |
|---|---|
static ILocalVariable |
VariableHelper.getParameterName(Node argsNode,
String name)
Can we find a parameter named by name in the arguments node (presumably from an iter or methoddef)? |
| Methods in org.jrubyparser.util that return types with arguments of type ILocalVariable | |
|---|---|
static List<ILocalVariable> |
ILocalVariableVisitor.findOccurrencesIn(IScope scope,
String name)
|
List<ILocalVariable> |
ILocalVariableVisitor.getVariableList()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||