FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mercury/java/runtime/TypeClassDeclStruct.java at master · Mercury-Language/mercury · GitHub
Mercury-Language
/
mercury
Public
Notifications
You must be signed in to change notification settings
Fork
71
Star
1.1k
Code
Issues
13
Pull requests
8
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
mercury
/
java
/
runtime
/
TypeClassDeclStruct.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (29 loc) · 1.01 KB
Breadcrumbs
mercury
/
java
/
runtime
/
TypeClassDeclStruct.java
Copy path
File metadata and controls
34 lines (29 loc) · 1.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// vim: ts=4 sw=4 expandtab ft=java
//
// Copyright (C) 2004 The University of Melbourne.
// Copyright (C) 2018 The Mercury team.
// This file is distributed under the terms specified in COPYING.LIB.
//
package
jmercury
.
runtime
;
// This corresponds to the C typedef "MR_TypeClassDeclStruct"
// in runtime/mercury_types.h, i.e. the C struct
// "struct MR_TypeClassDecl_Struct" in runtime/mercury_typeclass_info.h.
public
class
TypeClassDeclStruct
implements
java
.
io
.
Serializable
{
public
TypeClassId
tc_decl_id
;
public
int
tc_decl_version_number
;
public
int
tc_decl_num_supers
;
// redundant
public
TypeClassConstraint
tc_decl_supers
;
public
TypeClassDeclStruct
()
{
}
public
void
init
(
TypeClassId
id
,
int
version_number
,
int
num_supers
,
TypeClassConstraint
supers
)
{
tc_decl_id
=
id
;
tc_decl_version_number
=
version_number
;
tc_decl_num_supers
=
num_supers
;
tc_decl_supers
=
supers
;
}
}
Back
|
FazBrowse Home
|
New Git URL