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