| Modifier and Type | Field and Description |
|---|---|
| private final Node[] | |
| private final BlockArgNode | |
| private final KeywordRestArgNode | |
| private final short | |
| private static final Node[] | |
| private final short | |
| private final short | |
| protected final RestArgNode |
| Access | Constructor and Description |
|---|---|
| public | ArgsNode(int line, ListNode pre, ListNode optionalArguments, RestArgNode rest, ListNode post, BlockArgNode blockArgNode)
Construct a new ArgsNode with no keyword arguments. |
| public | ArgsNode(int line, ListNode pre, ListNode optionalArguments, RestArgNode rest, ListNode post, ListNode keywords, KeywordRestArgNode keyRest, BlockArgNode blockArgNode)
Construct a new ArgsNode with keyword arguments. |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | accept(NodeVisitor<T>
the visitor iVisitor)Implements abstract org. Accept for the visitor pattern. |
| public boolean | |
| public List | |
| public Node[] | |
| public BlockArgNode | Returns: Returns a BlockArgNodeGets the explicit block argument of the parameter list (&block). |
| public KeywordRestArgNode | |
| public int | |
| public ListNode | |
| public int | |
| public NodeType | |
| public int | |
| public ListNode | |
| public int | |
| public ListNode | |
| public int | |
| public int | |
| public ListNode | |
| public int | |
| public int | |
| public int | |
| public RestArgNode | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| args | back to summary |
|---|---|
| private final Node[] args | |
| blockArgNode | back to summary |
|---|---|
| private final BlockArgNode blockArgNode | |
| keyRest | back to summary |
|---|---|
| private final KeywordRestArgNode keyRest | |
| keywordsIndex | back to summary |
|---|---|
| private final short keywordsIndex | |
| NO_ARGS | back to summary |
|---|---|
| private static final Node[] NO_ARGS | |
| optIndex | back to summary |
|---|---|
| private final short optIndex | |
| postIndex | back to summary |
|---|---|
| private final short postIndex | |
| restArgNode | back to summary |
|---|---|
| protected final RestArgNode restArgNode | |
| ArgsNode | back to summary |
|---|---|
| public ArgsNode(int line, ListNode pre, ListNode optionalArguments, RestArgNode rest, ListNode post, BlockArgNode blockArgNode) Construct a new ArgsNode with no keyword arguments. | |
| ArgsNode | back to summary |
|---|---|
| public ArgsNode(int line, ListNode pre, ListNode optionalArguments, RestArgNode rest, ListNode post, ListNode keywords, KeywordRestArgNode keyRest, BlockArgNode blockArgNode) Construct a new ArgsNode with keyword arguments. | |
| accept | back to summary |
|---|---|
| public <T> T accept(NodeVisitor<T> iVisitor) Implements abstract org. Accept for the visitor pattern.
| |
| cannotAcceptKwargs | back to summary |
|---|---|
| public boolean cannotAcceptKwargs() | |
| childNodes | back to summary |
|---|---|
| public List Implements abstract org.
| |
| getArgs | back to summary |
|---|---|
| public Node[] getArgs() | |
| getBlock | back to summary |
|---|---|
| public BlockArgNode getBlock() Gets the explicit block argument of the parameter list (&block).
| |
| getKeyRest | back to summary |
|---|---|
| public KeywordRestArgNode getKeyRest() | |
| getKeywordCount | back to summary |
|---|---|
| public int getKeywordCount() | |
| getKeywords | back to summary |
|---|---|
| public ListNode getKeywords() | |
| getKeywordsIndex | back to summary |
|---|---|
| public int getKeywordsIndex() | |
| getNodeType | back to summary |
|---|---|
| public NodeType getNodeType() Implements abstract org.
| |
| getOptArgIndex | back to summary |
|---|---|
| public int getOptArgIndex() | |
| getOptArgs | back to summary |
|---|---|
| public ListNode getOptArgs() Gets the optArgs.
| |
| getOptionalArgsCount | back to summary |
|---|---|
| public int getOptionalArgsCount() | |
| getPost | back to summary |
|---|---|
| public ListNode getPost() | |
| getPostCount | back to summary |
|---|---|
| public int getPostCount() | |
| getPostIndex | back to summary |
|---|---|
| public int getPostIndex() | |
| getPre | back to summary |
|---|---|
| public ListNode getPre() Gets the required arguments at the beginning of the argument definition | |
| getPreCount | back to summary |
|---|---|
| public int getPreCount() | |
| getRequiredArgsCount | back to summary |
|---|---|
| public int getRequiredArgsCount() | |
| getRequiredKeywordCount | back to summary |
|---|---|
| public int getRequiredKeywordCount() How many of the keywords listed happen to be required keyword args. Note total kwargs - req kwarg = opt kwargs. | |
| getRestArgNode | back to summary |
|---|---|
| public RestArgNode getRestArgNode() Gets the restArgNode.
| |
| hasKeyRest | back to summary |
|---|---|
| public boolean hasKeyRest() | |
| hasKwargs | back to summary |
|---|---|
| public boolean hasKwargs() | |
| hasRestArg | back to summary |
|---|---|
| public boolean hasRestArg() | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |