namespace: Serenity.Services assembly: Serenity.Net.Core
A simple parser / evaluator for logic permission expressions
public static class PermissionExpressionParser
name | description |
---|---|
static Evaluate(…) | Evaluates a list of tokens in RPN notation, produced from ShuntingYard method. |
static ShuntingYard(…) | Converts a list of tokens to Reverse Polish Notation using ShuntingYard algorithm. |
static Tokenize(…) | Tokenizes a permission expression |
- Source: PermissionExpressionParser.cs