Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c869557 commit 3f7dd1bCopy full SHA for 3f7dd1b
lib/syntax_tree/dsl.rb
@@ -36,6 +36,11 @@ def AliasNode(left, right)
36
AliasNode.new(left: left, right: right, location: Location.default)
37
end
38
39
+ # Create a new AndNode node.
40
+ def AndNode(left, operator, right)
41
+ AndNode.new(left: left, operator: operator, right: right, location: Location.default)
42
+ end
43
+
44
# Create a new ARef node.
45
def ARef(collection, index)
46
ARef.new(collection: collection, index: index, location: Location.default)
0 commit comments