File

Overview

Location

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

Implements

 

constructor

 

constructor

 

File()

 

init()

 

Sub New()

 

constructor(aDoc: Reference<CommentGroup>; aPackage: Pos; aName: Reference<Ident>; aDecls: Slice<Decl>; aScope: Reference<Scope>; aImports: Slice<Reference<ImportSpec>>; aUnresolved: Slice<Reference<Ident>>; aComments: Slice<Reference<CommentGroup>>)

 

File(Reference<CommentGroup> aDoc, Pos aPackage, Reference<Ident> aName, Slice<Decl> aDecls, Reference<Scope> aScope, Slice<Reference<ImportSpec>> aImports, Slice<Reference<Ident>> aUnresolved, Slice<Reference<CommentGroup>> aComments)

 

init(_ aDoc: Reference<CommentGroup>, _ aPackage: Pos, _ aName: Reference<Ident>, _ aDecls: Slice<Decl>, _ aScope: Reference<Scope>, _ aImports: Slice<Reference<ImportSpec>>, _ aUnresolved: Slice<Reference<Ident>>, _ aComments: Slice<Reference<CommentGroup>>)

 

Sub New(aDoc As Reference<CommentGroup>, aPackage As Pos, aName As Reference<Ident>, aDecls As Slice<Decl>, aScope As Reference<Scope>, aImports As Slice<Reference<ImportSpec>>, aUnresolved As Slice<Reference<Ident>>, aComments As Slice<Reference<CommentGroup>>)

Parameters:

  • aDoc:
  • aPackage:
  • aName:
  • aDecls:
  • aScope:
  • aImports:
  • aUnresolved:
  • aComments:

constructor (File)

 

constructor(value: File)

 

File(File value)

 

init(_ value: File)

 

Sub New(value As File)

Parameters:

  • value:

Comments

 

var Comments: Slice<Reference<CommentGroup>>;

 

Slice<Reference<CommentGroup>> Comments

 

var Comments: Slice<Reference<CommentGroup>>

 

Comments Slice<Reference<CommentGroup>>

 

FIELD Comments() As Slice<Reference<CommentGroup>>

Decls

 

var Decls: Slice<Decl>;

 

Slice<Decl> Decls

 

var Decls: Slice<Decl>

 

Decls Slice<Decl>

 

FIELD Decls() As Slice<Decl>

Doc

 

var Doc: Reference<CommentGroup>;

 

var Doc: Reference<CommentGroup>

 

FIELD Doc() As Reference<CommentGroup>

End

 

method End: Pos

 

Pos End()

 

func End() -> Pos

 

func End() Pos

 

Function End() As Pos

Imports

 

var Imports: Slice<Reference<ImportSpec>>;

 

Slice<Reference<ImportSpec>> Imports

 

var Imports: Slice<Reference<ImportSpec>>

 

Imports Slice<Reference<ImportSpec>>

 

FIELD Imports() As Slice<Reference<ImportSpec>>

Name

 

var Name: Reference<Ident>;

 

Reference<Ident> Name

 

var Name: Reference<Ident>

 

Name Reference<Ident>

 

FIELD Name() As Reference<Ident>

Package

 

var Package: Pos;

 

Pos Package

 

var Package: Pos

 

Package Pos

 

FIELD Package() As Pos

Pos

 

method Pos: Pos

 

Pos Pos()

 

func Pos() -> Pos

 

func Pos() Pos

 

Function Pos() As Pos

Scope

 

var Scope: Reference<Scope>;

 

Reference<Scope> Scope

 

var Scope: Reference<Scope>

 

Scope Reference<Scope>

 

FIELD Scope() As Reference<Scope>

Unresolved

 

var Unresolved: Slice<Reference<Ident>>;

 

Slice<Reference<Ident>> Unresolved

 

var Unresolved: Slice<Reference<Ident>>

 

Unresolved Slice<Reference<Ident>>

 

FIELD Unresolved() As Slice<Reference<Ident>>

 

Comments

 

var Comments: Slice<Reference<CommentGroup>>;

 

Slice<Reference<CommentGroup>> Comments

 

var Comments: Slice<Reference<CommentGroup>>

 

Comments Slice<Reference<CommentGroup>>

 

FIELD Comments() As Slice<Reference<CommentGroup>>

Decls

 

var Decls: Slice<Decl>;

 

Slice<Decl> Decls

 

var Decls: Slice<Decl>

 

Decls Slice<Decl>

 

FIELD Decls() As Slice<Decl>

Doc

 

var Doc: Reference<CommentGroup>;

 

var Doc: Reference<CommentGroup>

 

FIELD Doc() As Reference<CommentGroup>

Imports

 

var Imports: Slice<Reference<ImportSpec>>;

 

Slice<Reference<ImportSpec>> Imports

 

var Imports: Slice<Reference<ImportSpec>>

 

Imports Slice<Reference<ImportSpec>>

 

FIELD Imports() As Slice<Reference<ImportSpec>>

Name

 

var Name: Reference<Ident>;

 

Reference<Ident> Name

 

var Name: Reference<Ident>

 

Name Reference<Ident>

 

FIELD Name() As Reference<Ident>

Package

 

var Package: Pos;

 

Pos Package

 

var Package: Pos

 

Package Pos

 

FIELD Package() As Pos

Scope

 

var Scope: Reference<Scope>;

 

Reference<Scope> Scope

 

var Scope: Reference<Scope>

 

Scope Reference<Scope>

 

FIELD Scope() As Reference<Scope>

Unresolved

 

var Unresolved: Slice<Reference<Ident>>;

 

Slice<Reference<Ident>> Unresolved

 

var Unresolved: Slice<Reference<Ident>>

 

Unresolved Slice<Reference<Ident>>

 

FIELD Unresolved() As Slice<Reference<Ident>>

 

constructor

 

constructor

 

File()

 

init()

 

Sub New()

 

constructor(aDoc: Reference<CommentGroup>; aPackage: Pos; aName: Reference<Ident>; aDecls: Slice<Decl>; aScope: Reference<Scope>; aImports: Slice<Reference<ImportSpec>>; aUnresolved: Slice<Reference<Ident>>; aComments: Slice<Reference<CommentGroup>>)

 

File(Reference<CommentGroup> aDoc, Pos aPackage, Reference<Ident> aName, Slice<Decl> aDecls, Reference<Scope> aScope, Slice<Reference<ImportSpec>> aImports, Slice<Reference<Ident>> aUnresolved, Slice<Reference<CommentGroup>> aComments)

 

init(_ aDoc: Reference<CommentGroup>, _ aPackage: Pos, _ aName: Reference<Ident>, _ aDecls: Slice<Decl>, _ aScope: Reference<Scope>, _ aImports: Slice<Reference<ImportSpec>>, _ aUnresolved: Slice<Reference<Ident>>, _ aComments: Slice<Reference<CommentGroup>>)

 

Sub New(aDoc As Reference<CommentGroup>, aPackage As Pos, aName As Reference<Ident>, aDecls As Slice<Decl>, aScope As Reference<Scope>, aImports As Slice<Reference<ImportSpec>>, aUnresolved As Slice<Reference<Ident>>, aComments As Slice<Reference<CommentGroup>>)

Parameters:

  • aDoc:
  • aPackage:
  • aName:
  • aDecls:
  • aScope:
  • aImports:
  • aUnresolved:
  • aComments:

constructor (File)

 

constructor(value: File)

 

File(File value)

 

init(_ value: File)

 

Sub New(value As File)

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