.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.PowerShell.PsTextLiteralToken

Types in CilBrowser.Core.SyntaxModel.PowerShell namespace:

PsCommentToken

PsMultilineCommentToken

PsSyntaxProvider

PsTextLiteralToken

PsTokenFactory

.class public auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.PowerShell.PsTextLiteralToken
extends [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition
{

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

           ldarg.0      
           call         instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.SyntaxTokenDefinition::.ctor()
           nop          
           ret          
 }

 .method public hidebysig virtual instance bool HasStart(
     class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
 ) cil managed
 {
  .maxstack  2
  .locals  init (char V_0,
     bool V_1)

           nop          
           ldarg.1      
           callvirt     instance char [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::PeekChar()
           stloc.0      
           ldloc.0      
           ldc.i4.s     34
           beq.s        IL_0001
           ldloc.0      
           ldc.i4.s     39
           ceq          
           br.s         IL_0002
  IL_0001: ldc.i4.1     
  IL_0002: stloc.1      
           br.s         IL_0003
  IL_0003: ldloc.1      
           ret          
 }

 .method public hidebysig virtual instance bool HasContinuation(
     string prevPart, 
     class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
 ) cil managed
 {
  .maxstack  3
  .locals  init (char V_0,
     bool V_1,
     bool V_2,
     bool V_3,
     bool V_4)

           nop          
           ldarg.1      
           callvirt     instance int32 [netstandard]System.String::get_Length()
           ldc.i4.1     
           cgt          
           ldc.i4.0     
           ceq          
           stloc.1      
           ldloc.1      
           brfalse.s    IL_0001
           ldc.i4.1     
           stloc.2      
           br.s         IL_0008
  IL_0001: ldarg.1      
           ldarg.1      
           callvirt     instance int32 [netstandard]System.String::get_Length()
           ldc.i4.1     
           sub          
           callvirt     instance char [netstandard]System.String::get_Chars(int32)
           stloc.0      
           ldloc.0      
           ldc.i4.s     34
           bne.un.s     IL_0002
           ldarg.1      
           ldc.i4.0     
           callvirt     instance char [netstandard]System.String::get_Chars(int32)
           ldc.i4.s     34
           ceq          
           br.s         IL_0003
  IL_0002: ldc.i4.0     
  IL_0003: stloc.3      
           ldloc.3      
           brfalse.s    IL_0004
           nop          
           ldc.i4.0     
           stloc.2      
           br.s         IL_0008
  IL_0004: ldloc.0      
           ldc.i4.s     39
           bne.un.s     IL_0005
           ldarg.1      
           ldc.i4.0     
           callvirt     instance char [netstandard]System.String::get_Chars(int32)
           ldc.i4.s     39
           ceq          
           br.s         IL_0006
  IL_0005: ldc.i4.0     
  IL_0006: stloc.s      V_4
           ldloc.s      V_4
           brfalse.s    IL_0007
           nop          
           ldc.i4.0     
           stloc.2      
           br.s         IL_0008
  IL_0007: ldc.i4.1     
           stloc.2      
           br.s         IL_0008
  IL_0008: ldloc.2      
           ret          
 }

}

Back to table of contents


Generated by CIL Browser