Ejemplo n.º 1
0
 public void RemoveLevel(BindingLevel level)
 {
     _levels.Remove(level);
     if (_levels.IsEmpty())
     {
         Clear();
     }
 }
Ejemplo n.º 2
0
        static IBindingLevel Create(IFunctionDeclaration declaration, Associativity associativity)
        {
            var result = new BindingLevel {
                Associaticity = associativity
            };

            // add syntax pattern
            return(result);
        }
Ejemplo n.º 3
0
 public void AddLevel(BindingLevel level)
 {
     _levels.Add(level);
 }