| Package | Description |
|---|---|
| org.jruby.ast | |
| org.jruby.ast.visitor | |
| org.jruby.ir | |
| org.jruby.parser |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayNode
Represents an array.
|
class |
BlockNode
Represents a block of nodes (read that as list).
|
class |
DNode
Base class for all D (e.g.
|
class |
DRegexpNode
A regexp which contains some expressions which will need to be evaluated every time the regexp
is used for a match.
|
class |
DStrNode
A string which contains some dynamic elements which needs to be evaluated (introduced by #).
|
class |
DSymbolNode
Node representing symbol in a form like ':"3jane"'.
|
class |
DXStrNode
Dynamic backquote string.
|
class |
ZArrayNode
zero length list
|
| Modifier and Type | Method and Description |
|---|---|
ListNode |
ListNode.add(Node node) |
ListNode |
ListNode.addAll(ListNode other)
Add all elements in other list to this list node.
|
ListNode |
ListNode.addAll(Node other)
Add other element to this list
|
ListNode |
ListNode.addAll(Node[] other,
int index,
int length) |
ListNode |
FindPatternNode.getArgs() |
ListNode |
CaseNode.getCases() |
ListNode |
PatternCaseNode.getCases() |
ListNode |
ArgsNode.getKeywords() |
ListNode |
ArgsNode.getOptArgs()
Gets the optArgs.
|
ListNode |
ArgsNode.getPost() |
ListNode |
MultipleAsgnNode.getPost() |
ListNode |
ArrayPatternNode.getPostArgs() |
ListNode |
ArgsNode.getPre()
Gets the required arguments at the beginning of the argument definition
|
ListNode |
MultipleAsgnNode.getPre() |
ListNode |
ArrayPatternNode.getPreArgs() |
| Modifier and Type | Method and Description |
|---|---|
ListNode |
ListNode.addAll(ListNode other)
Add all elements in other list to this list node.
|
protected void |
ListNode.addAllInternal(ListNode other) |
void |
ArrayPatternNode.setPreArgs(ListNode preArgs) |
| Constructor and Description |
|---|
ArgsNode(int line,
ListNode pre,
ListNode optionalArguments,
RestArgNode rest,
ListNode post,
BlockArgNode blockArgNode)
Construct a new ArgsNode with no keyword arguments.
|
ArgsNode(int line,
ListNode pre,
ListNode optionalArguments,
RestArgNode rest,
ListNode post,
ListNode keywords,
KeywordRestArgNode keyRest,
BlockArgNode blockArgNode)
Construct a new ArgsNode with keyword arguments.
|
ArrayPatternNode(int line,
ListNode preArgs,
Node restArg,
ListNode postArgs) |
CaseNode(int line,
Node caseNode,
ListNode cases) |
FindPatternNode(int line,
Node preRestArg,
ListNode args,
Node postRestArg) |
MultipleAsgnNode(int line,
ListNode pre,
Node rest,
ListNode post) |
PatternCaseNode(int line,
Node caseNode,
ListNode cases) |
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractNodeVisitor.visitListNode(ListNode node) |
T |
NodeVisitor.visitListNode(ListNode iVisited) |
| Modifier and Type | Method and Description |
|---|---|
protected Operand[] |
IRBuilder.buildCallArgsArray(ListNode args,
int[] flags) |
protected Operand |
IRBuilder.buildCallArgsArrayForSplat(ListNode args,
int[] flags) |
| Modifier and Type | Method and Description |
|---|---|
ListNode |
ArgsTailHolder.getKeywordArgs() |
ListNode |
RubyParserBase.list_append(Node list,
Node item) |
ListNode |
RubyParserBase.list_concat(Node first,
Node second) |
| Modifier and Type | Method and Description |
|---|---|
ArgsTailHolder |
RubyParserBase.new_args_tail(int line,
ListNode keywordArg,
ByteList keywordRestArgName,
BlockArgNode blockArg) |
protected ArgsTailHolder |
RubyParserBase.new_args_tail(int line,
ListNode keywordArg,
ByteList keywordRestArgName,
ByteList block) |
ArgsNode |
RubyParserBase.new_args(int line,
ListNode pre,
ListNode optional,
RestArgNode rest,
ListNode post,
ArgsTailHolder tail) |
ArrayPatternNode |
RubyParserBase.new_array_pattern_tail(int line,
ListNode preArgs,
boolean hasRest,
ByteList restArg,
ListNode postArgs) |
Node |
RubyParserBase.new_find_pattern_tail(int line,
ByteList preRestArg,
ListNode postArgs,
ByteList postRestArg) |
| Constructor and Description |
|---|
ArgsTailHolder(int line,
ListNode keywordArgs,
KeywordRestArgNode keywordRestArg,
BlockArgNode blockArg) |
Copyright © 2001-2023 JRuby. All Rights Reserved.