Class: Axiom::Adapter::Arango::Visitor::Attribute

Inherits:
Axiom::Adapter::Arango::Visitor show all
Defined in:
lib/axiom/adapter/arango/visitor/attribute.rb

Overview

Visitor for attribute accesses

Constant Summary

Constants inherited from Axiom::Adapter::Arango::Visitor

REGISTRY

Instance Method Summary collapse

Methods inherited from Axiom::Adapter::Arango::Visitor

build, run

Instance Method Details

#rootAQL::Node

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return root AQL node

Returns:

  • (AQL::Node)


17
18
19
# File 'lib/axiom/adapter/arango/visitor/attribute.rb', line 17

def root
  Node::Attribute.new(context.local_name, AQL.name_node(input.name))
end