Example #1
0
 public void Add(ICSharpCode.NRefactory.Parser.AST.ParamModifier m)
 {
     if ((cur & m) == 0)
     {
         cur |= m;
     }
     else
     {
         parser.Error("param modifier " + m + " already defined");
     }
 }
Example #2
0
 public ParamModifiers(Parser parser)
 {
     this.parser = parser;
     cur         = ICSharpCode.NRefactory.Parser.AST.ParamModifier.None;
 }