예제 #1
0
 internal override void Command(string type, string pars)
 {
     if (type == "sep")
     {
         m_separ = new CompoudTemplate();
     }
 }
예제 #2
0
        internal ForTemplate(string pars, PythonEngine engine)
        {
            m_engine = engine;
            m_body   = new CompoudTemplate();
            Match m = regex.Match(pars);

            m_varname   = m.Groups[1].Value;
            m_container = engine.CreateLambda <PythonExpressionDelegate>(m.Groups[2].Value);
        }
예제 #3
0
 internal SelectTemplate(string pars, PythonEngine engine)
 {
     m_engine = engine;
     m_body   = new CompoudTemplate();
     m_select = "select " + pars;
 }