class

Syntax::CStructOrUnionDef

Inherits Syntax::ASTNode < Reference < Object

A c struct/union definition inside a lib declaration

Constructors

new(name : String, body = nil, union : Bool = false)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

accept_children(visitor)
Source
body
Source
body=(body : ASTNode)
Source
clone_without_location
Source
hash(hasher)

See Object#hash(hasher)

name
Source
name=(name : String)
Source
union=(union : Bool)
Source
union?
Source