forked from amazon-ion/ion-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystemSymbols.java
127 lines (96 loc) · 3.11 KB
/
SystemSymbols.java
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.ion;
/**
* Constants for symbols defined by the Ion specification.
*
*/
public final class SystemSymbols
{
/** No touchy! */
private SystemSymbols() { }
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION = "$ion";
/**
* The ID of system symbol {@value #ION}, as defined by Ion 1.0.
*/
public static final int ION_SID = 1;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
* This value is the Version Identifier for Ion 1.0.
*/
public static final String ION_1_0 = "$ion_1_0";
/**
* The ID of system symbol {@value #ION_1_0}, as defined by Ion 1.0.
*/
public static final int ION_1_0_SID = 2;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION_SYMBOL_TABLE = "$ion_symbol_table";
/**
* The ID of system symbol {@value #ION_SYMBOL_TABLE}, as defined by Ion 1.0.
*/
public static final int ION_SYMBOL_TABLE_SID = 3;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String NAME = "name";
/**
* The ID of system symbol {@value #NAME}, as defined by Ion 1.0.
*/
public static final int NAME_SID = 4;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String VERSION = "version";
/**
* The ID of system symbol {@value #VERSION}, as defined by Ion 1.0.
*/
public static final int VERSION_SID = 5;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String IMPORTS = "imports";
/**
* The ID of system symbol {@value #IMPORTS}, as defined by Ion 1.0.
*/
public static final int IMPORTS_SID = 6;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String SYMBOLS = "symbols";
/**
* The ID of system symbol {@value #SYMBOLS}, as defined by Ion 1.0.
*/
public static final int SYMBOLS_SID = 7;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String MAX_ID = "max_id";
/**
* The ID of system symbol {@value #MAX_ID}, as defined by Ion 1.0.
*/
public static final int MAX_ID_SID = 8;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION_SHARED_SYMBOL_TABLE =
"$ion_shared_symbol_table";
/**
* The ID of system symbol {@value #ION_SHARED_SYMBOL_TABLE},
* as defined by Ion 1.0.
*/
public static final int ION_SHARED_SYMBOL_TABLE_SID = 9;
/**
* The maximum ID of the IDs of system symbols defined by Ion 1.0.
*/
public static final int ION_1_0_MAX_ID = 9;
// Ion 1.1 Symbols
/**
* The name of the default module in Ion 1.1
*/
public static final String DEFAULT_MODULE = "_";
}