コード例 #1
0
ファイル: EquationCompiler.cs プロジェクト: jeffz29/dotMath
        /// <summary>
        /// Kicks off the process to tokenize the function and compile the resulting token set into a runnable form.
        /// </summary>
        public void Compile()
        {
            var parser = new Parser(_equation);

            _tokenEnumerator = parser.GetTokenEnumerator();

            NextToken();

            _function = Or();
        }
コード例 #2
0
        /// <summary>
        /// Compile():  This function kicks off the process to tokenize the function
        ///		and compile the resulting token set into a runnable form.
        /// </summary>
        public void Compile()
        {
            Parser oParser = new Parser(m_sEquation);

            m_enumTokens = oParser.GetTokenEnumerator();

            PositionNextToken();

            m_Function = Relational();
        }
コード例 #3
0
        /// <summary>
        /// Compile():  This function kicks off the process to tokenize the function
        ///		and compile the resulting token set into a runnable form.
        /// </summary>
        public void Compile()
        {
            Parser oParser = new Parser(m_sEquation );
            m_enumTokens = oParser.GetTokenEnumerator();

            PositionNextToken();

            m_Function = Relational();
        }