Export (0) Print
Expand All

TSql110Parser.ParseConstantOrIdentifier Method

 

Applies To: SQL Server 2016 Preview

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

NameDescription
System_CAPS_pubmethodParseConstantOrIdentifier(TextReader, IList<ParseError>)

Returns a constant or identifier and a list of errors by using the provided text reader.(Inherited from TSqlParser.)

System_CAPS_pubmethodParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32)

Returns a constant or identifier and a list of errors by using the provided values.(Overrides TSqlParser.ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32).)

Return to top

TSql110Parser.ParseConstantOrIdentifier Method (TextReader, IList<ParseError>, Int32, Int32, Int32)

Returns a constant or identifier and a list of errors by using the provided values.

public override TSqlFragment ParseConstantOrIdentifier(
	TextReader input,
	out IList<ParseError> errors,
	int startOffset,
	int startLine,
	int startColumn
)

Parameters

input
Type: System.IO.TextReader

The script that will be parsed.

errors
Type: System.Collections.Generic.IList<ParseError>

When this method returns, contains the list of error that occurred during parsing.

startOffset
Type: System.Int32

The offset where the parse starts.

startLine
Type: System.Int32

The line number where the parse starts.

startColumn
Type: System.Int32

The column number in the line where the parse starts.

Return Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment

A constant or identifier.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft