TechNet
Export (0) Print
Expand All

TokenTriggers Enumeration

 

Specifies a set of triggers that can be fired from the LineScanner class.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   Babel
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

[FlagsAttribute]
public enum TokenTriggers

Member nameDescription
MatchBraces

The opening or closing part of a language pair has been parsed.

MemberSelect

A character that indicates that the start of a member selection has been parsed.

MethodTip

This is a mask for the flags used to govern the IntelliSense Method Tip operation. This mask is used to isolate the values Parameter, ParameterStart, ParameterNext, and ParameterEnd.

None

Used when no triggers are set. This is the default.

Parameter

A parameter in the parameter list of a method has been parsed.

ParameterEnd

A character that marks the end of a parameter list has been parsed. For example, this could be a close parenthesis, ")".

ParameterNext

A character that separates parameters in a list has been parsed. For example, this could be a comma, ",".

ParameterStart

A character that marks the start of a parameter list has been parsed. For example, this could be an open parenthesis, "(".

Triggers provide a way for the scanner to signal the caller about certain language elements that might be of interest to IntelliSense support.

Return to top
Show:
© 2016 Microsoft