Exemplo n.º 1
0
        public override void ExitExpressionBase(FEELRule.ExpressionBaseContext context)
        {
            var ast = context.ast;

            try {
                Value = (Variable)ast.Execute(_variableContext);
            } catch (Exception) {
                Value = new Variable();
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="FEELRule.expressionBase"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitExpressionBase([NotNull] FEELRule.ExpressionBaseContext context)
 {
 }