4 instantiations of PreprocessorState
Microsoft.CodeAnalysis.VisualBasic (4)
Scanner\Directives.vb (3)
303Return New PreprocessorState(symbols, Me._conditionals, Me._regionDirectives, Me._haveSeenRegionDirectives, Me._externalSourceDirective) 313Return New PreprocessorState(Me._symbols, conditionals, Me._regionDirectives, Me._haveSeenRegionDirectives, Me._externalSourceDirective) 339Return New PreprocessorState(Me._symbols, Me._conditionals, Me._regionDirectives, Me._haveSeenRegionDirectives, externalSource)
Scanner\Scanner.vb (1)
115_scannerPreprocessorState = New PreprocessorState(GetPreprocessorConstants(options))
30 references to PreprocessorState
Microsoft.CodeAnalysis.VisualBasic (30)
Scanner\Blender.vb (5)
47Private _currentPreprocessorState As PreprocessorState 547Private ReadOnly _state As PreprocessorState 550Private _nextState As PreprocessorState 552Public Sub New(state As PreprocessorState, node As VisualBasicSyntaxNode) 564Public Function State() As PreprocessorState
Scanner\Directives.vb (21)
23Protected _scannerPreprocessorState As PreprocessorState 120Protected Shared Function ApplyDirectives(preprocessorState As PreprocessorState, node As VisualBasicSyntaxNode) As PreprocessorState 128Private Shared Function ApplyDirectivesRecursive(preprocessorState As PreprocessorState, node As GreenNode) As PreprocessorState 172Friend Shared Function ApplyDirective(preprocessorState As PreprocessorState, 173ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 300Private Function SetSymbol(name As String, value As CConst) As PreprocessorState 312Private Function WithConditionals(conditionals As ImmutableStack(Of ConditionalState)) As PreprocessorState 328Private Function WithRegions(regions As ImmutableStack(Of RegionDirectiveTriviaSyntax)) As PreprocessorState 338Private Function WithExternalSource(externalSource As ExternalSourceDirectiveTriviaSyntax) As PreprocessorState 342Friend Function InterpretConstDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 356Friend Function InterpretExternalSourceDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 367Friend Function InterpretEndExternalSourceDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 376Friend Function InterpretRegionDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 382Friend Function InterpretEndRegionDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 393Friend Function InterpretIfDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 415Friend Function InterpretElseIfDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 459Friend Function InterpretElseDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 490Friend Function InterpretEndIfDirective(ByRef statement As DirectiveTriviaSyntax) As PreprocessorState 499Friend Function IsEquivalentTo(other As PreprocessorState) As Boolean
Scanner\TokenStream.vb (4)
495Private ReadOnly _scannerPreprocessorState As PreprocessorState 639Friend Sub New(preprocessorState As PreprocessorState, 655Friend Function [With](preprocessorState As PreprocessorState) As ScannerToken 663Public ReadOnly PreprocessorState As PreprocessorState