daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public bool IsAssignmentOperator()
  2.         {
  3.             return this.Is(TokenType.Equal) ||
  4.                 this.Is(TokenType.AssignAdd) ||
  5.                 this.Is(TokenType.AssignSubtract) ||
  6.                 this.Is(TokenType.AssignMultiply) ||
  7.                 this.Is(TokenType.AssignDivide) ||
  8.                 this.Is(TokenType.AssignConcatenate);
  9.         }
  10.  
  11.         public bool IsNonScriptToken()
  12.         {
  13.             return this.Is(TokenType.Directive) ||
  14.                 this.Is(TokenType.Comment) ||
  15.                 this.Is(TokenType.NewLine) ||
  16.                 this.Is(TokenType.Nil);
  17.         }
  18.  
  19.         public bool IsOperator()
  20.         {
  21.             return this.IsBinaryOperator() || this.IsUnaryOperator();
  22.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top