FieldDecl

public final class FieldDecl extends SymbolDecl

A field declaration in a CompositeTypeSpec.

Constructors

FieldDecl

protected FieldDecl(Tree identTree, WrapperTypeSpec typeSpec)

FieldDecl

protected FieldDecl(String name, WrapperTypeSpec typeSpec)

Methods

bitfieldTree

protected Tree bitfieldTree()

collectUsedTrees

public void collectUsedTrees(TapList<Tree> toUsedTrees, TapList<TypeSpec> toDejaVu)

Collects into toUsedTrees all expressions that are needed for the declaration of this SymbolDecl.

Parameters
  • toUsedTrees – TapList of used Tree

  • toDejaVu – TapList of TypeSpec

generateInitializationTree

protected Tree generateInitializationTree()

getInitializationTree

protected Tree getInitializationTree()

initializationTree

protected Tree initializationTree()

setBitfieldTree

protected void setBitfieldTree(Tree bitfieldTree)

setInitializationTree

protected void setInitializationTree(Tree tree)

setType

protected void setType(WrapperTypeSpec typeSpec)

toString

public String toString()

type

public WrapperTypeSpec type()