Пример #1
0
 public void clear()
 {
     this.position      = -1;
     this.token         = "";
     this.type          = LexTokenTypes.NULL;
     this.beginColumn   = 0;
     this.beginRowIndex = 0;
     this.endRowIndex   = 0;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the Token class.
 /// </summary>
 internal LexToken(string value, LexTokenTypes type)
 {
     Value = value;
     Type  = type;
 }
Пример #3
0
 public void setType(LexTokenTypes type)
 {
     this.type = type;
 }
Пример #4
0
 private LexToken()
 {
     this.type = LexTokenTypes.NULL;
 }
Пример #5
0
		/// <summary>
		/// Initializes a new instance of the Token class.
		/// </summary>
		internal LexToken(string value, LexTokenTypes type)
		{
			Value = value;
			Type = type;
		}