Skip to content

Commit ae92946

Browse files
Change namespace and generateCode parameters (#713)
1 parent f61775d commit ae92946

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

slicec/slice/CodeGenerator.slice

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// Copyright (c) ZeroC, Inc.
22

3-
module Slice::Compiler
3+
[cs::namespace("ZeroC.Slice.Compiler")]
4+
module Compiler
45

56
interface CodeGenerator {
6-
generateCode(sliceFiles: Sequence<SliceFile>)
7-
-> (generatedFiles: Sequence<GeneratedFile>, diagnostics: Sequence<Diagnostic>)
7+
generateCode(sourceFiles: Sequence<SliceFile>, referenceFiles: Sequence<SliceFile>) ->
8+
(generatedFiles: Sequence<GeneratedFile>, diagnostics: Sequence<Diagnostic>)
89
}
910

1011
struct SliceFile {
@@ -14,7 +15,6 @@ struct SliceFile {
1415
tag(0) attributes: Sequence<Attribute>?
1516
contents: Sequence<Definition>
1617
anonymousTypes: Sequence<AnonymousType>
17-
isSource: bool
1818
}
1919

2020
struct GeneratedFile {

slicec/slice/DocComment.slice

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) ZeroC, Inc.
22

3-
module Slice::Compiler
3+
[cs::namespace("ZeroC.Slice.Compiler")]
4+
module Compiler
45

56
struct DocComment {
67
overview: Message

slicec/slice/SyntaxElements.slice

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) ZeroC, Inc.
22

3-
module Slice::Compiler
3+
[cs::namespace("ZeroC.Slice.Compiler")]
4+
module Compiler
45

56
/// A unique identifier for a Slice entity, typically a fully-scoped identifier.
67
/// For example: 'MyOuterModule::MyInnerModule::MyInterface::MyOperation::MyParameter'.

0 commit comments

Comments
 (0)