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

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