public bool Move(char character, out LexemType type) { if (this.State != null) { this.State = this.State.Follow (character); if (this.State != null && this.State.Type != LexemType.None) { type = this.State.Type; return true; } } type = LexemType.None; return false; }
public bool Move(char character, out LexemType type) { if (this.State != null) { this.State = this.State.Follow(character); if (this.State != null && this.State.Type != LexemType.None) { type = this.State.Type; return(true); } } type = LexemType.None; return(false); }
public void Cancel() { this.State = null; }
public LexemCursor(char character, LexemState state) { this.Character = character; this.State = state; }