Class: YbDDLParser::AST::Column

Inherits:
Data
  • Object
show all
Defined in:
lib/yb_ddl_parser/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#constraintsObject (readonly)

Returns the value of attribute constraints

Returns:

  • (Object)

    the current value of constraints



19
20
21
# File 'lib/yb_ddl_parser/ast.rb', line 19

def constraints
  @constraints
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/yb_ddl_parser/ast.rb', line 19

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



19
20
21
# File 'lib/yb_ddl_parser/ast.rb', line 19

def type
  @type
end

#typmodsObject (readonly)

Returns the value of attribute typmods

Returns:

  • (Object)

    the current value of typmods



19
20
21
# File 'lib/yb_ddl_parser/ast.rb', line 19

def typmods
  @typmods
end