.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.PowerShell.PsSyntaxProvider

Types in CilBrowser.Core.SyntaxModel.PowerShell namespace:

PsCommentToken

PsMultilineCommentToken

PsSyntaxProvider

PsTextLiteralToken

PsTokenFactory

.class private auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.PowerShell.PsSyntaxProvider
extends CilBrowser.Core.SyntaxModel.SyntaxProvider
{

 .field private static initonly class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition[] s_psDefinitions

 .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
 {
  .maxstack  8

           ldarg.0      
           call         instance void CilBrowser.Core.SyntaxModel.SyntaxProvider::.ctor()
           nop          
           ret          
 }

 .method private hidebysig specialname rtspecialname static void .cctor() cil managed
 {
  .maxstack  4

           ldc.i4.7     
           newarr       [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition
           dup          
           ldc.i4.0     
           newobj       instance void CilTools.SourceCode.Common.CommonNameToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.1     
           newobj       instance void CilBrowser.Core.SyntaxModel.PowerShell.PsCommentToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.2     
           newobj       instance void CilBrowser.Core.SyntaxModel.PowerShell.PsMultilineCommentToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.3     
           newobj       instance void CilBrowser.Core.SyntaxModel.PowerShell.PsTextLiteralToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.4     
           newobj       instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.PunctuationToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.5     
           newobj       instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.WhitespaceToken::.ctor()
           stelem.ref   
           dup          
           ldc.i4.6     
           newobj       instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.NumericLiteralToken::.ctor()
           stelem.ref   
           stsfld       class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition[] CilBrowser.Core.SyntaxModel.PowerShell.PsSyntaxProvider::s_psDefinitions
           ret          
 }

 .method public hidebysig virtual instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] GetNodes(
     string sourceText
 ) cil managed
 {
  .maxstack  3
  .locals  init (class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_0)

           nop          
           ldarg.1      
           ldsfld       class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition[] CilBrowser.Core.SyntaxModel.PowerShell.PsSyntaxProvider::s_psDefinitions
           ldsfld       class CilBrowser.Core.SyntaxModel.PowerShell.PsTokenFactory CilBrowser.Core.SyntaxModel.PowerShell.PsTokenFactory::Value
           call         class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxReader::ReadAllNodes(string, class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition>, class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxFactory)
           stloc.0      
           br.s         IL_0001
  IL_0001: ldloc.0      
           ret          
 }

}

Back to table of contents


Generated by CIL Browser