sun::ast::ClassFieldDecl

sun::ast::ClassFieldDecl

struct · Source (opens in a new tab)

struct sun::ast::ClassFieldDecl

Declares a class field with its type and optional default expression.

Public Fields

declaration

public · variable · Source (opens in a new tab)

sun::semantic_analysis::DeclarationIdentity sun::ast::ClassFieldDecl::declaration {}

No documentation comment.

Related: sun::semantic_analysis::DeclarationIdentity

doc

public · variable · Source (opens in a new tab)

std::string sun::ast::ClassFieldDecl::doc

No documentation comment.

initializer

public · variable · Source (opens in a new tab)

std::unique_ptr<ExprAST> sun::ast::ClassFieldDecl::initializer

No documentation comment.

Related: ExprAST

location

public · variable · Source (opens in a new tab)

sun::support::Position sun::ast::ClassFieldDecl::location

No documentation comment.

Related: sun::support::Position

name

public · variable · Source (opens in a new tab)

std::string sun::ast::ClassFieldDecl::name

No documentation comment.

type

public · variable · Source (opens in a new tab)

TypeAnnotation sun::ast::ClassFieldDecl::type

No documentation comment.

Related: TypeAnnotation

visibility

public · variable · Source (opens in a new tab)

Visibility sun::ast::ClassFieldDecl::visibility = Visibility::Private

No documentation comment.

Related: Visibility