jaredzhou/mooncedar/parser does not have a README file
pub(all) suberror ParseError { ParseError(String, @jaredzhou/mooncedar/ast.PositionPosition)} derive(@moonbitlang/core/debug.DebugDebug)
pub(all) enum Keyword { Permit Forbid When Unless In Has Like Is If Then Else} derive(Eq, @moonbitlang/core/debug.DebugDebug)
impl Show for Keyword
fn output(self : Keyword, logger : &Logger) -> Unit
pub(all) enum Operator { Add Sub Mul Eq Ne Lt Gt Le Ge And Or Not} derive(Eq, @moonbitlang/core/debug.DebugDebug)
impl Show for Operator
fn output(self : Operator, logger : &Logger) -> Unit
pub(all) struct Token { kind : TokenKind pos : @jaredzhou/mooncedar/ast.PositionPosition} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Token::new(kind : TokenKind, pos : @jaredzhou/mooncedar/ast.PositionPosition) -> Token
pub(all) enum TokenKind { Bool(Bool) Int(Int64) String(String) Ident(String) Keyword(Keyword) Op(Operator) Bracket(Char) Symbol(String) Unknown EOF} derive(Eq, @moonbitlang/core/debug.DebugDebug)
impl Show for TokenKind
fn output(self : TokenKind, logger : &Logger) -> Unit
fn parse_expr(tokens : ArrayView[Token]) -> (@jaredzhou/mooncedar/ast.ExprExpr, ArrayView[Token]) raise ParseError
fn parse_policies(src : String) -> Array[@jaredzhou/mooncedar/ast.PolicyPolicy] raise ParseError
fn stringify(p : @jaredzhou/mooncedar/ast.PolicyPolicy) -> String
fn stringify_expr(e : @jaredzhou/mooncedar/ast.ExprExpr) -> String
fn tokenize(code : String, filename? : String) -> Array[Token]
Install
A Cedar policy engine — parser, evaluator, and authorizer in MoonBit.
Dependencies
Powered by MoonBit
© 2026 mooncakes.io