Scope

Overview

Location

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

Instance Methods


constructor

 

constructor

 

Scope()

 

init()

 

Sub New()

 

constructor(aparent: Memory<Scope>; achildren: Slice<Memory<Scope>>; aelems: Map<string, Object>; apos: Pos; aend: Pos; acomment: string; aisFunc: bool)

 

Scope(Memory<Scope> aparent, Slice<Memory<Scope>> achildren, Map<string, Object> aelems, Pos apos, Pos aend, string acomment, bool aisFunc)

 

init(_ aparent: Memory<Scope>, _ achildren: Slice<Memory<Scope>>, _ aelems: Map<string, Object>, _ apos: Pos, _ aend: Pos, _ acomment: string, _ aisFunc: bool)

 

Sub New(aparent As Memory<Scope>, achildren As Slice<Memory<Scope>>, aelems As Map<string, Object>, apos As Pos, aend As Pos, acomment As string, aisFunc As bool)

Parameters:

  • aparent:
  • achildren:
  • aelems:
  • apos:
  • aend:
  • acomment:
  • aisFunc:

constructor (Scope)

 

constructor(value: Scope)

 

Scope(Scope value)

 

init(_ value: Scope)

 

Sub New(value As Scope)

Parameters:

  • value:

Child

 

method Child(i: int): Memory<Scope>

 

Memory<Scope> Child(int i)

 

func Child(_ i: int) -> Memory<Scope>

 

func Child(i int) Memory<Scope>

 

Function Child(i As int) As Memory<Scope>

Parameters:

  • i:

Contains

 

method Contains(pos: Pos): bool

 

bool Contains(Pos pos)

 

func Contains(_ pos: Pos) -> bool

 

func Contains(pos Pos) bool

 

Function Contains(pos As Pos) As bool

Parameters:

  • pos:

End

 

method End: Pos

 

Pos End()

 

func End() -> Pos

 

func End() Pos

 

Function End() As Pos

Innermost

 

method Innermost(pos: Pos): Memory<Scope>

 

Memory<Scope> Innermost(Pos pos)

 

func Innermost(_ pos: Pos) -> Memory<Scope>

 

func Innermost(pos Pos) Memory<Scope>

 

Function Innermost(pos As Pos) As Memory<Scope>

Parameters:

  • pos:

Insert

 

method Insert(obj: Object): Object

 

Object Insert(Object obj)

 

func Insert(_ obj: Object) -> Object

 

func Insert(obj Object) Object

 

Function Insert(obj As Object) As Object

Parameters:

  • obj:

Len

 

method Len: int

 

int Len()

 

func Len() -> int

 

func Len() int

 

Function Len() As int

Lookup

 

method Lookup(name: string): Object

 

Object Lookup(string name)

 

func Lookup(_ name: string) -> Object

 

func Lookup(name string) Object

 

Function Lookup(name As string) As Object

Parameters:

  • name:

LookupParent

 

method LookupParent(name: string; pos: Pos): tuple of (Memory<Scope>, Object)

 

(Memory<Scope>, Object) LookupParent(string name, Pos pos)

 

func LookupParent(_ name: string, _ pos: Pos) -> (Memory<Scope>, Object)

 

func LookupParent(name string, pos Pos) tuple of (Memory<Scope>, Object)

 

Function LookupParent(name As string, pos As Pos) As Tuple (Of Memory<Scope>, Object)

Parameters:

  • name:
  • pos:

Names

 

method Names: Slice<string>

 

Slice<string> Names()

 

func Names() -> Slice<string>

 

func Names() Slice<string>

 

Function Names() As Slice<string>

NumChildren

 

method NumChildren: int

 

int NumChildren()

 

func NumChildren() -> int

 

func NumChildren() int

 

Function NumChildren() As int

Parent

 

method Parent: Memory<Scope>

 

Memory<Scope> Parent()

 

func Parent() -> Memory<Scope>

 

func Parent() Memory<Scope>

 

Function Parent() As Memory<Scope>

Pos

 

method Pos: Pos

 

Pos Pos()

 

func Pos() -> Pos

 

func Pos() Pos

 

Function Pos() As Pos

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

WriteTo

 

method WriteTo(w: Writer; n: int; recurse: bool)

 

void WriteTo(Writer w, int n, bool recurse)

 

func WriteTo(_ w: Writer, _ n: int, _ recurse: bool)

 

func WriteTo(w Writer, n int, recurse bool) void

 

Sub WriteTo(w As Writer, n As int, recurse As bool)

Parameters:

  • w:
  • n:
  • recurse: