Scanner.GetNext 메서드
Returns the next token, internal Lexer state, start position, and end position.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.Parser
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Public Function GetNext ( _
ByRef state As Integer, _
<OutAttribute> ByRef start As Integer, _
<OutAttribute> ByRef end As Integer, _
<OutAttribute> ByRef isPairMatch As Boolean, _
<OutAttribute> ByRef isExecAutoParamHelp As Boolean _
) As Integer
‘사용 방법
Dim instance As Scanner
Dim state As Integer
Dim start As Integer
Dim end As Integer
Dim isPairMatch As Boolean
Dim isExecAutoParamHelp As Boolean
Dim returnValue As Integer
returnValue = instance.GetNext(state, _
start, end, isPairMatch, isExecAutoParamHelp)
public int GetNext(
ref int state,
out int start,
out int end,
out bool isPairMatch,
out bool isExecAutoParamHelp
)
public:
int GetNext(
int% state,
[OutAttribute] int% start,
[OutAttribute] int% end,
[OutAttribute] bool% isPairMatch,
[OutAttribute] bool% isExecAutoParamHelp
)
member GetNext :
state:int byref *
start:int byref *
end:int byref *
isPairMatch:bool byref *
isExecAutoParamHelp:bool byref -> int
public function GetNext(
state : int,
start : int,
end : int,
isPairMatch : boolean,
isExecAutoParamHelp : boolean
) : int
매개 변수
- state
유형: System.Int32%
The state of the Lexer.
- start
유형: System.Int32%
The start position of the token.
- end
유형: System.Int32%
The end position of the token.
- isPairMatch
유형: System.Boolean%
true if this is a matched token pair; otherwise, false.
- isExecAutoParamHelp
유형: System.Boolean%
true if parameter help is requested by the token; otherwise, false.
반환 값
유형: System.Int32
The next token.