IfStmt

Overview

Location

  • Reference: Go.fx
  • Namespace: go.ast
  • Platforms: Island

Implements

 

constructor

 

constructor

 

IfStmt()

 

init()

 

Sub New()

constructor (Pos, Stmt, Expr, Reference<BlockStmt>, Stmt)

 

constructor(aIf: Pos; aInit: Stmt; aCond: Expr; aBody: Reference<BlockStmt>; aElse: Stmt)

 

IfStmt(Pos aIf, Stmt aInit, Expr aCond, Reference<BlockStmt> aBody, Stmt aElse)

 

init(_ aIf: Pos, _ aInit: Stmt, _ aCond: Expr, _ aBody: Reference<BlockStmt>, _ aElse: Stmt)

 

Sub New(aIf As Pos, aInit As Stmt, aCond As Expr, aBody As Reference<BlockStmt>, aElse As Stmt)

Parameters:

  • aIf:
  • aInit:
  • aCond:
  • aBody:
  • aElse:

constructor (IfStmt)

 

constructor(value: IfStmt)

 

IfStmt(IfStmt value)

 

init(_ value: IfStmt)

 

Sub New(value As IfStmt)

Parameters:

  • value:

Body

 

var Body: Reference<BlockStmt>;

 

Reference<BlockStmt> Body

 

var Body: Reference<BlockStmt>

 

Body Reference<BlockStmt>

 

FIELD Body() As Reference<BlockStmt>

Cond

 

var Cond: Expr;

 

Expr Cond

 

var Cond: Expr

 

Cond Expr

 

FIELD Cond() As Expr

Else

 

var Else: Stmt;

 

Stmt Else

 

var Else: Stmt

 

Else Stmt

 

FIELD Else() As Stmt

End

 

method End: Pos

 

Pos End()

 

func End() -> Pos

 

func End() Pos

 

Function End() As Pos

If

 

var If: Pos;

 

Pos If

 

var If: Pos

 

If Pos

 

FIELD If() As Pos

Init

 

var Init: Stmt;

 

Stmt Init

 

var Init: Stmt

 

Init Stmt

 

FIELD Init() As Stmt

Pos

 

method Pos: Pos

 

Pos Pos()

 

func Pos() -> Pos

 

func Pos() Pos

 

Function Pos() As Pos

 

Body

 

var Body: Reference<BlockStmt>;

 

Reference<BlockStmt> Body

 

var Body: Reference<BlockStmt>

 

Body Reference<BlockStmt>

 

FIELD Body() As Reference<BlockStmt>

Cond

 

var Cond: Expr;

 

Expr Cond

 

var Cond: Expr

 

Cond Expr

 

FIELD Cond() As Expr

Else

 

var Else: Stmt;

 

Stmt Else

 

var Else: Stmt

 

Else Stmt

 

FIELD Else() As Stmt

If

 

var If: Pos;

 

Pos If

 

var If: Pos

 

If Pos

 

FIELD If() As Pos

Init

 

var Init: Stmt;

 

Stmt Init

 

var Init: Stmt

 

Init Stmt

 

FIELD Init() As Stmt

 

constructor

 

constructor

 

IfStmt()

 

init()

 

Sub New()

constructor (Pos, Stmt, Expr, Reference<BlockStmt>, Stmt)

 

constructor(aIf: Pos; aInit: Stmt; aCond: Expr; aBody: Reference<BlockStmt>; aElse: Stmt)

 

IfStmt(Pos aIf, Stmt aInit, Expr aCond, Reference<BlockStmt> aBody, Stmt aElse)

 

init(_ aIf: Pos, _ aInit: Stmt, _ aCond: Expr, _ aBody: Reference<BlockStmt>, _ aElse: Stmt)

 

Sub New(aIf As Pos, aInit As Stmt, aCond As Expr, aBody As Reference<BlockStmt>, aElse As Stmt)

Parameters:

  • aIf:
  • aInit:
  • aCond:
  • aBody:
  • aElse:

constructor (IfStmt)

 

constructor(value: IfStmt)

 

IfStmt(IfStmt value)

 

init(_ value: IfStmt)

 

Sub New(value As IfStmt)

Parameters:

  • value:

End

 

method End: Pos

 

Pos End()

 

func End() -> Pos

 

func End() Pos

 

Function End() As Pos

Pos

 

method Pos: Pos

 

Pos Pos()

 

func Pos() -> Pos

 

func Pos() Pos

 

Function Pos() As Pos