IronKonoha.KStatement.skipUnaryOp C# (CSharp) Method

skipUnaryOp() private method

private skipUnaryOp ( Context ctx, IList tls, int s, int e ) : int
ctx Context
tls IList
s int
e int
return int
        int skipUnaryOp(Context ctx, IList<Token> tls, int s, int e)
        {
            int i;
            for(i = s; i < e; i++) {
                Token tk = tls[i];
                if(!isUnaryOp(ctx, tk)) {
                    break;
                }
            }
            return i;
        }