samt-core
1.0.0
jvm
compiler
/
tools.samt.semantic
/
Package
Package
class
Package
(
val
name
:
String
,
parent
:
Package
?
)
Members
Constructors
Package
Link copied to clipboard
constructor
(
name
:
String
,
parent
:
Package
?
)
Properties
aliases
Link copied to clipboard
val
aliases
:
MutableList
<
AliasType
>
all
Sub
Packages
Link copied to clipboard
val
allSubPackages
:
List
<
Package
>
consumers
Link copied to clipboard
val
consumers
:
MutableList
<
ConsumerType
>
enums
Link copied to clipboard
val
enums
:
MutableList
<
EnumType
>
is
Root
Package
Link copied to clipboard
val
isRootPackage
:
Boolean
name
Link copied to clipboard
val
name
:
String
providers
Link copied to clipboard
val
providers
:
MutableList
<
ProviderType
>
qualified
Name
Link copied to clipboard
val
qualifiedName
:
String
records
Link copied to clipboard
val
records
:
MutableList
<
RecordType
>
services
Link copied to clipboard
val
services
:
MutableList
<
ServiceType
>
sub
Packages
Link copied to clipboard
val
subPackages
:
MutableList
<
Package
>
type
By
Node
Link copied to clipboard
val
typeByNode
:
MutableMap
<
Node
,
Type
>
types
Link copied to clipboard
val
types
:
MutableMap
<
String
,
Type
>
Functions
contains
Link copied to clipboard
operator
fun
contains
(
identifier
:
IdentifierNode
)
:
Boolean
get
Type
By
Node
Link copied to clipboard
inline
fun
<
T
>
getTypeByNode
(
node
:
Node
)
:
T
get
Type
Or
Null
By
Node
Link copied to clipboard
inline
fun
<
T
>
getTypeOrNullByNode
(
node
:
Node
)
:
T
?
link
Type
Link copied to clipboard
fun
linkType
(
source
:
Node
,
type
:
Type
)
plus
Assign
Link copied to clipboard
operator
fun
plusAssign
(
alias
:
AliasType
)
operator
fun
plusAssign
(
consumer
:
ConsumerType
)
operator
fun
plusAssign
(
enum
:
EnumType
)
operator
fun
plusAssign
(
provider
:
ProviderType
)
operator
fun
plusAssign
(
record
:
RecordType
)
operator
fun
plusAssign
(
service
:
ServiceType
)
resolve
Sub
Package
Link copied to clipboard
fun
resolveSubPackage
(
name
:
BundleIdentifierNode
)
:
Package
resolve
Type
Link copied to clipboard
fun
resolveType
(
identifier
:
IdentifierNode
)
:
Type
?