extract atomic_object
This commit is contained in:
parent
e15d1980ba
commit
c1c15c1c6b
@ -1,3 +1,9 @@
|
|||||||
|
//! This module allows to describe a primitive subset of [Mentionable] types, [Atomic]s,
|
||||||
|
//! simple static types, which are completely [Context]-independent.
|
||||||
|
//!
|
||||||
|
//! [Mentionable]: crate::rcore::Mentionable
|
||||||
|
//! [Context]: crate::rcore::Context
|
||||||
|
|
||||||
mod inlining;
|
mod inlining;
|
||||||
mod modes;
|
mod modes;
|
||||||
mod regular;
|
mod regular;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//! Standard extensions to [`crate::rcore`].
|
//! Standard extensions to [`crate::rcore`].
|
||||||
|
|
||||||
pub mod atomic;
|
pub mod atomic;
|
||||||
|
pub mod atomic_object;
|
||||||
pub mod cast;
|
pub mod cast;
|
||||||
pub mod collections;
|
pub mod collections;
|
||||||
pub mod inject;
|
pub mod inject;
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
//! This module allows to describe a primitive subset of [Mentionable] types, [Atomic]s,
|
use std::error::Error;
|
||||||
//! simple static types, which are completely [Context]-independent.
|
use std::fmt::Display;
|
||||||
|
|
||||||
pub mod array;
|
pub mod array;
|
||||||
pub mod atomic_object;
|
|
||||||
pub mod au64;
|
pub mod au64;
|
||||||
pub mod boolean;
|
pub mod boolean;
|
||||||
pub mod plain;
|
pub mod plain;
|
||||||
|
|
||||||
use std::marker::PhantomData;
|
|
||||||
|
|
||||||
use crate::{atomic::*, mode::*};
|
use crate::{atomic::*, mode::*};
|
||||||
|
|
||||||
use super::*;
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
//! Provides [Atomic]-[Mentionable] interface.
|
//! Provides [Atomic]-[Mentionable] interface.
|
||||||
|
|
||||||
use std::ops::Deref;
|
use std::{marker::PhantomData, ops::Deref};
|
||||||
|
|
||||||
|
use crate::atomic::*;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
@ -247,10 +247,7 @@ where
|
|||||||
mod tests {
|
mod tests {
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
use crate::rstd::{
|
use crate::rstd::{atomic::plain::*, atomic_object::*, tracing::*};
|
||||||
atomic::{atomic_object::*, plain::*},
|
|
||||||
tracing::*,
|
|
||||||
};
|
|
||||||
use crate::testing::{counted::*, traced::*, *};
|
use crate::testing::{counted::*, traced::*, *};
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
@ -7,7 +7,7 @@ use crate::atomic::*;
|
|||||||
use crate::mode::*;
|
use crate::mode::*;
|
||||||
use crate::rcore::*;
|
use crate::rcore::*;
|
||||||
|
|
||||||
use super::{atomic::atomic_object::*, *};
|
use super::{atomic_object::*, *};
|
||||||
|
|
||||||
pub type IParseResult<'a, Ctx, F, I> = Result<(Mtbl<'a, Ctx, F>, I), ParseError<'a, Ctx, F>>;
|
pub type IParseResult<'a, Ctx, F, I> = Result<(Mtbl<'a, Ctx, F>, I), ParseError<'a, Ctx, F>>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user