Class: GraphWeaver::Codegen::ObjectNode::Alias

Inherits:
Struct
  • Object
show all
Defined in:
lib/graph_weaver/codegen/nodes.rb

Overview

a resolved alias delegator (extend_type alias:): the accessor name, the Ruby path expression it reads (meta&.tag), and its Sorbet return type

Instance Attribute Summary collapse

Instance Attribute Details

#exprObject

Returns the value of attribute expr

Returns:

  • (Object)

    the current value of expr



149
150
151
# File 'lib/graph_weaver/codegen/nodes.rb', line 149

def expr
  @expr
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



149
150
151
# File 'lib/graph_weaver/codegen/nodes.rb', line 149

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



149
150
151
# File 'lib/graph_weaver/codegen/nodes.rb', line 149

def type
  @type
end