You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SqlServerSimulator/Parser/ParserContext.cs
+6-11Lines changed: 6 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,6 @@ public void MoveNextOptional()
64
64
65
65
/// <summary>
66
66
/// Returns the next token in the enumeration, or null.
67
-
/// Also updates <see cref="Token"/> to the new value.
68
67
/// </summary>
69
68
/// <returns>The next token if the enumerator was advanced, otherwise null.</returns>
70
69
publicToken?GetNextOptional()
@@ -74,7 +73,6 @@ public void MoveNextOptional()
74
73
75
74
/// <summary>
76
75
/// Returns the next token in the enumeration, throwing an exception if the end was reached instead.
77
-
/// Also updates <see cref="Token"/> to the new value.
78
76
/// </summary>
79
77
/// <returns>The next token.</returns>
80
78
/// <exception cref="SimulatedSqlException">Incorrect syntax near '{token}'.</exception>
@@ -86,7 +84,6 @@ public Token GetNextRequired()
86
84
87
85
/// <summary>
88
86
/// Returns the next token in the enumeration, throwing an exception if the end was reached instead or the token is the wrong type.
89
-
/// Also updates <see cref="Token"/> to the new value.
90
87
/// </summary>
91
88
/// <typeparam name="T">The expected type of the new token.</typeparam>
92
89
/// <returns>The next token.</returns>
@@ -100,17 +97,15 @@ public T GetNextRequired<T>()
100
97
}
101
98
102
99
/// <summary>
103
-
/// Advances <see cref="Token"/> to the next token in the enumeration, throwing an exception if the end was reached instead or the token is the wrong type.
100
+
/// Advances <see cref="Token"/> to the next token in the enumeration, throwing an exception if the end was reached instead.
101
+
/// The <see cref="ParserContext"/> used for this call is returned.
104
102
/// </summary>
105
-
/// <typeparam name="T">The expected type of the new token.</typeparam>
103
+
/// <returns>This instance.</returns>
106
104
/// <exception cref="SimulatedSqlException">Incorrect syntax near '{token}'.</exception>
0 commit comments