-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
279 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
// pub mod boolean; | ||
// #[cfg(feature = "polars")] | ||
// pub mod data_frame; | ||
// pub mod images; | ||
// pub mod json_like; | ||
// pub mod list; | ||
// pub mod module_name; | ||
pub mod id; | ||
pub mod maybe; | ||
pub mod text; | ||
|
||
// pub mod primitive; | ||
// pub mod result; | ||
|
||
pub mod boolean; | ||
pub mod number; | ||
|
||
use crate::values::{ValkyrieValue, ValkyrieValueType}; | ||
use std::fmt::{Debug, Display, Formatter}; | ||
// | ||
// use crate::{ | ||
// collection::list::{ValkyrieList, ValkyrieOrdinal}, | ||
// types::ValkyrieMetaType, | ||
// ValkyrieDict, ValkyrieType, ValkyrieValue, | ||
// }; | ||
// use indexmap::IndexMap; | ||
// use shredder::{marker::GcSafe, Gc, Scan, Scanner}; | ||
// use std::{ | ||
// collections::{hash_map::DefaultHasher, BTreeMap, BTreeSet}, | ||
// fmt::{Debug, Formatter}, | ||
// hash::{Hash, Hasher}, | ||
// ops::Not, | ||
// sync::Arc, | ||
// }; | ||
// | ||
/// The display style of a token | ||
pub enum TokenType { | ||
/// A keyword | ||
Keyword, | ||
/// `a, b, c` | ||
Punctuation, | ||
/// `a + b` | ||
Operator, | ||
/// `structure StructureName` | ||
Structure, | ||
/// `class ClassName` | ||
Class, | ||
/// `enumerate EnumerateName` | ||
Enumerate, | ||
/// `union UnionName` | ||
Union, | ||
/// `unite UniteName` | ||
Unite, | ||
/// `variant VariantName` | ||
Variant, | ||
/// `interfaces InterfaceName` | ||
Interface, | ||
/// `trait TraitName` | ||
Trait, | ||
/// `let variable` | ||
Variable, | ||
/// `let mut variable` | ||
VariableMutable, | ||
/// `method(parameter)` | ||
Parameter, | ||
/// `method(mut parameter)` | ||
ParameterMutable, | ||
/// `method(self)` | ||
ParameterSelf, | ||
/// `method(mut self)` | ||
ParameterSelfMutable, | ||
/// `constant` | ||
Constant, | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// use crate::{ | ||
// modifiers::AccessType, | ||
// types::{atomic_type::ValkyrieDocument, ValkyrieMetaType}, | ||
// InitializeType, ValkyrieID, | ||
// }; | ||
// use std::{ | ||
// collections::BTreeMap, | ||
// fmt::{Debug, Formatter}, | ||
// ops::Range, | ||
// }; | ||
// use valkyrie_ast::ExpressionNode; | ||
// pub mod classes; | ||
// pub mod fields; | ||
pub mod unions; | ||
// pub mod interfaces; | ||
// pub mod names; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use crate::{ValkyrieID, ValkyrieType}; | ||
use indexmap::IndexMap; | ||
use std::collections::BTreeSet; | ||
|
||
pub struct ValkyrieUnion { | ||
structured: Option<ValkyrieID>, | ||
set: IndexMap<String, ValkyrieType>, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.