-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
slice.scroll
114 lines (92 loc) · 1.8 KB
/
slice.scroll
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
import ../code/conceptPage.scroll
id slice
name Slice
appeared 2011
tags pl
clocExtensions ice
fileType text
centralPackageRepositoryCount 0
country United States
originCommunity ZeroC, Inc
reference https://zeroc.com/products/ice
example
// YellowPages.ice
module YellowPages
{
class PersonDetails
{
string phoneNumber;
optional(1) string address;
}
interface PhoneBook
{
PersonDetails find(string name);
}
}
lineCommentToken //
multiLineCommentTokens /* */
hasLineComments true
// A comment
hasComments true
// A comment
hasMultiLineComments true
/* A comment
*/
hasSemanticIndentation false
githubBigQuery Slice
repos 20
users 13
linguistGrammarRepo https://github.com/zeroc-ice/vscode-slice
firstCommit 2018
lastCommit 2018
committerCount 5
commitCount 14
sampleCount 1
example
#pragma once
#ifndef SOME_TEST
[["java:package:linguist"]]
#endif
module Linguist
{
enum MyEnum
{
One,
Two,
Three
}
struct MyStruct
{
// An int
int a;
/* string */
string b;
MyEnum e;
}
exception MyException {
string e;
}
dictionary<string, string> MyDict;
sequence<MyEnum> MyEnumSeq;
class BaseClass {
int value = -1;
}
class MyClass extends BaseClass
{
MyDict info;
optional(1) string op;
}
interface MyInterface
{
void operationA(out bool valid);
idempotent void operationB(int a);
MyEnumseq getEnum();
["cpp:const", "cpp:noexcept"] string getName();
}
}
githubLanguage Slice
fileExtensions ice
type programming
aceMode text
tmScope source.slice
repos 40