Skip to content

Commit 26e3d37

Browse files
committed
Clarify description of HashParseNode
1 parent f083b68 commit 26e3d37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/truffleruby/parser/ast/HashParseNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
import org.truffleruby.parser.ast.visitor.NodeVisitor;
4040
import org.truffleruby.parser.parser.ParseNodeTuple;
4141

42-
/** A Literal Hash that can represent either a {a=&b, c=&d} type expression or the list of default values in a
43-
* method call. */
42+
/** A Literal Hash that can represent either a {a=&b, c=&d} type expression or keyword arguments passed in a
43+
* method call (foo(k: value), foo(**kw) or a mix of both). */
4444
public class HashParseNode extends ParseNode implements ILiteralNode {
4545
private final List<ParseNodeTuple> pairs;
4646

0 commit comments

Comments
 (0)