public object Clone()
 {
     var rv = new HostSymbolTable();
     foreach (var hostSymbol in m_SymbolTableById.Values)
     {
         rv.SetSymbol(hostSymbol);
     }
     return rv;
 }
Example #2
0
        public object Clone()
        {
            var rv = new HostSymbolTable();

            foreach (var hostSymbol in m_SymbolTableById.Values)
            {
                rv.SetSymbol(hostSymbol);
            }
            return(rv);
        }
 public EvaluationContext(HostSymbolTable symbolTable)
 {
     SymbolTable = symbolTable;
     EvaluationStack = new Stack<Double>();
     Instructions = new List<SemanticToken>();
 }
 public SemanticAnalyser(HostCallTable hostCallTable)
 {
     m_HostCallTable = hostCallTable;
     m_HostSymbolTable = new HostSymbolTable();
 }
 public ExpressionContext(HostSymbolTable symbolTable)
 {
     SymbolTable     = symbolTable;
     EvaluationStack = new Stack <Double>();
     //Instructions = new List<ExpressionToken>();
 }
Example #6
0
 public SemanticAnalyser(HostCallTable hostCallTable)
 {
     m_HostCallTable   = hostCallTable;
     m_HostSymbolTable = new HostSymbolTable();
 }