Class: Kumi::Syntax::InputDeclaration

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/kumi/syntax/input_declaration.rb

Overview

For field metadata declarations inside input blocks

Instance Attribute Summary collapse

Attributes included from Node

#hints, #loc

Method Summary

Methods included from Node

#==, #initialize

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



6
7
8
# File 'lib/kumi/syntax/input_declaration.rb', line 6

def children
  @children
end

#domainObject

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



6
7
8
# File 'lib/kumi/syntax/input_declaration.rb', line 6

def domain
  @domain
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



6
7
8
# File 'lib/kumi/syntax/input_declaration.rb', line 6

def index
  @index
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/kumi/syntax/input_declaration.rb', line 6

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/kumi/syntax/input_declaration.rb', line 6

def type
  @type
end