orchestra_proc_macro/parse/
mod.rs

1// Copyright (C) 2022 Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16mod kw {
17	syn::custom_keyword!(event);
18	syn::custom_keyword!(signal);
19	syn::custom_keyword!(error);
20	syn::custom_keyword!(outgoing);
21	syn::custom_keyword!(gen);
22	syn::custom_keyword!(signal_capacity);
23	syn::custom_keyword!(message_capacity);
24	syn::custom_keyword!(subsystem);
25	syn::custom_keyword!(prefix);
26	syn::custom_keyword!(boxed_messages);
27}
28mod parse_cfg;
29mod parse_orchestra_attr;
30mod parse_orchestra_struct;
31
32mod parse_subsystem_attr;
33
34#[cfg(test)]
35mod tests;
36
37pub(crate) use self::{parse_orchestra_attr::*, parse_orchestra_struct::*};
38
39pub(crate) use self::parse_subsystem_attr::*;