Class: AQL::Node::Literal::Singleton

Inherits:
AQL::Node::Literal show all
Defined in:
lib/aql/node/literal/singleton.rb

Overview

Singleton literal

Constant Summary

Constants inherited from AQL::Node::Literal

REGISTRY

Class Method Summary collapse

Methods inherited from AQL::Node::Literal

build

Methods inherited from AQL::Node

#aql, #visit

Class Method Details

.construct(object) ⇒ Node::Literal::Singleton

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.

Construct object

Parameters:

  • object (Object)

Returns:



22
23
24
# File 'lib/aql/node/literal/singleton.rb', line 22

def self.construct(object)
  MAPPING.fetch(object)
end