Types in CilBrowser.Core.SyntaxModel.FoxPro namespace: FoxCommentToken FoxSyntaxProvider FoxTextLiteralToken FoxTokenFactory |
.class private auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.FoxPro.FoxCommentToken
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 HasContinuation(
string prevPart,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
) cil managed
{
.maxstack 2
.locals init (bool V_0)
nop
ldarg.1
ldstr "\n"
callvirt instance bool [netstandard]System.String::EndsWith(string)
ldc.i4.0
ceq
stloc.0
br.s IL_0001
IL_0001: ldloc.0
ret
}
.method public hidebysig virtual instance bool HasStart(
class [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader reader
) cil managed
{
.maxstack 2
.locals init (string V_0,
char V_1,
bool V_2,
bool V_3,
bool V_4)
nop
ldarg.1
ldc.i4.2
callvirt instance string [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::PeekString(int32)
stloc.0
ldloc.0
ldstr "&&"
call bool CilBrowser.Core.Utils::StrEquals(string, string)
stloc.2
ldloc.2
brfalse.s IL_0001
ldc.i4.1
stloc.3
br.s IL_0005
IL_0001: ldloc.0
ldstr "*"
callvirt instance bool [netstandard]System.String::StartsWith(string)
ldc.i4.0
ceq
stloc.s V_4
ldloc.s V_4
brfalse.s IL_0002
ldc.i4.0
stloc.3
br.s IL_0005
IL_0002: ldarg.1
ldc.i4.1
callvirt instance char [CilTools.BytecodeAnalysis]CilTools.Syntax.Tokens.TokenReader::GetPreviousChar(int32)
stloc.1
ldloc.1
ldc.i4.s 10
beq.s IL_0003
ldloc.1
ldc.i4.0
ceq
br.s IL_0004
IL_0003: ldc.i4.1
IL_0004: stloc.3
br.s IL_0005
IL_0005: ldloc.3
ret
}
}
|