3 instantiations of Parser
Microsoft.CodeAnalysis.VisualBasic (3)
Parser\Parser.vb (1)
53
MyClass.
New
(New Scanner(text, options))
Scanner\Directives.vb (1)
55
Dim parser As New
Parser
(Me)
Scanner\XmlDocComments.vb (1)
71
Dim parser As New
Parser
(Me)
28 references to Parser
Microsoft.CodeAnalysis.VisualBasic (28)
Parser\BlockContexts\BlockContext.vb (3)
20
Protected _parser As
Parser
159
Friend Property Parser As
Parser
163
Set(value As
Parser
)
Parser\BlockContexts\CompilationUnitContext.vb (6)
25
Friend Sub New(parser As
Parser
)
148
Private _parser As
Parser
162
parser As
Parser
) As CompilationUnitSyntax
413
rewritten =
Parser
.ReportSyntaxError(rewritten, ERRID.ERR_LbExpectedEndIf)
425
rewritten =
Parser
.ReportSyntaxError(rewritten, ERRID.ERR_ExpectedEndRegion)
518
rewritten =
Parser
.ReportSyntaxError(rewritten, ERRID.ERR_ExpectedEndExternalSource)
Parser\BlockContexts\ExecutableStatementContext.vb (3)
26
If
Parser
.IsDeclarationStatement(node.Kind) Then
51
node =
Parser
.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
75
node =
Parser
.ReportSyntaxError(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
Parser\BlockContexts\PropertyBlockContext.vb (1)
152
propertyStatement =
Parser
.ReportSyntaxError(propertyStatement, ERRID.ERR_InitializedExpandedProperty)
Parser\ParseExpression.vb (1)
1766
value =
Parser
.ReportSyntaxError(value, ERRID.ERR_BadIteratorExpressionLambda)
Scanner\Directives.vb (12)
350
statement =
Parser
.ReportSyntaxError(statement, err, value.ErrorArgs)
360
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_NestedExternalSource)
369
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_EndExternalSource)
384
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_EndRegionNoRegion)
405
statement =
Parser
.ReportSyntaxError(statement, err, value.ErrorArgs)
421
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_LbBadElseif)
428
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_LbElseifAfterElse)
441
statement =
Parser
.ReportSyntaxError(statement, err, value.ErrorArgs)
465
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_LbElseNoMatchingIf)
473
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_LbElseNoMatchingIf)
492
statement =
Parser
.ReportSyntaxError(statement, ERRID.ERR_LbNoMatchingIf)
648
eof =
Parser
.ReportSyntaxError(eof, ERRID.ERR_LbExpectedEndIf)
Scanner\Scanner.vb (2)
2484
result =
Parser
.CheckFeatureAvailability(Feature.YearFirstDateLiterals, result, Options.LanguageVersion)
2585
result =
Parser
.CheckFeatureAvailability(Feature.MultilineStringLiterals, result, Options.LanguageVersion)