Example #1
0
        /// <summary>
        /// To parse of raw expression and to check the is it true.
        /// </summary>
        /// <param name="exp">Raw conditional expressions.</param>
        /// <returns></returns>
        public bool isTrue(string exp)
        {
            lock(_lock) {
                hString = new StringHandler();
                _depthBracketsLevel = 0;
            }

            exp = hString.protectCores(
                hString.protectMixedQuotes(exp)
            );

            Log.Trace("Expression-parse: started with - '{0}' :: '{1}' :: '{2}'", exp);
            return (disclosure(exp) == Value.VTRUE);
        }