diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/ScriptEngine/Shared/CodeTools | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
8 files changed, 929 insertions, 929 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs index bc6ce4f..031f00a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | |||
@@ -433,9 +433,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
433 | if (m_insertCoopTerminationChecks) | 433 | if (m_insertCoopTerminationChecks) |
434 | { | 434 | { |
435 | // We have to check in event functions as well because the user can manually call these. | 435 | // We have to check in event functions as well because the user can manually call these. |
436 | if (previousSymbol is GlobalFunctionDefinition | 436 | if (previousSymbol is GlobalFunctionDefinition |
437 | || previousSymbol is WhileStatement | 437 | || previousSymbol is WhileStatement |
438 | || previousSymbol is DoWhileStatement | 438 | || previousSymbol is DoWhileStatement |
439 | || previousSymbol is ForLoop | 439 | || previousSymbol is ForLoop |
440 | || previousSymbol is StateEvent) | 440 | || previousSymbol is StateEvent) |
441 | GenerateIndentedLine(m_coopTerminationCheck, sb); | 441 | GenerateIndentedLine(m_coopTerminationCheck, sb); |
@@ -474,8 +474,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
474 | { | 474 | { |
475 | // A non-braced single line do while structure cannot contain multiple statements. | 475 | // A non-braced single line do while structure cannot contain multiple statements. |
476 | // So to insert the termination check we change this to a braced control structure instead. | 476 | // So to insert the termination check we change this to a braced control structure instead. |
477 | if (previousSymbol is WhileStatement | 477 | if (previousSymbol is WhileStatement |
478 | || previousSymbol is DoWhileStatement | 478 | || previousSymbol is DoWhileStatement |
479 | || previousSymbol is ForLoop) | 479 | || previousSymbol is ForLoop) |
480 | { | 480 | { |
481 | transformToBlock = true; | 481 | transformToBlock = true; |
@@ -530,7 +530,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
530 | // This code checks for LSL of the following forms, and generates a | 530 | // This code checks for LSL of the following forms, and generates a |
531 | // warning if it finds them. | 531 | // warning if it finds them. |
532 | // | 532 | // |
533 | // list l = [ "foo" ]; | 533 | // list l = [ "foo" ]; |
534 | // l = (l=[]) + l + ["bar"]; | 534 | // l = (l=[]) + l + ["bar"]; |
535 | // (produces l=["foo","bar"] in SL but l=["bar"] in OS) | 535 | // (produces l=["foo","bar"] in SL but l=["bar"] in OS) |
536 | // | 536 | // |
@@ -758,7 +758,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
758 | for (int i = 0; i < fls.kids.Count; i++) | 758 | for (int i = 0; i < fls.kids.Count; i++) |
759 | { | 759 | { |
760 | SYMBOL s = (SYMBOL)fls.kids[i]; | 760 | SYMBOL s = (SYMBOL)fls.kids[i]; |
761 | 761 | ||
762 | // Statements surrounded by parentheses in for loops | 762 | // Statements surrounded by parentheses in for loops |
763 | // | 763 | // |
764 | // e.g. for ((i = 0), (j = 7); (i < 10); (++i)) | 764 | // e.g. for ((i = 0), (j = 7); (i < 10); (++i)) |
@@ -774,7 +774,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
774 | // like it would be considerably more complicated to handle). | 774 | // like it would be considerably more complicated to handle). |
775 | while (s is ParenthesisExpression) | 775 | while (s is ParenthesisExpression) |
776 | s = (SYMBOL)s.kids.Pop(); | 776 | s = (SYMBOL)s.kids.Pop(); |
777 | 777 | ||
778 | GenerateNodeToSB(fls, s, sb); | 778 | GenerateNodeToSB(fls, s, sb); |
779 | if (0 < comma--) | 779 | if (0 < comma--) |
780 | Generate(", ", sb); | 780 | Generate(", ", sb); |
@@ -891,9 +891,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
891 | else if (value is OpenMetaverse.Quaternion) | 891 | else if (value is OpenMetaverse.Quaternion) |
892 | retval = String.Format("new LSL_Types.Quaternion(\"{0}\")",((OpenMetaverse.Quaternion)value).ToString()); | 892 | retval = String.Format("new LSL_Types.Quaternion(\"{0}\")",((OpenMetaverse.Quaternion)value).ToString()); |
893 | else retval = id; | 893 | else retval = id; |
894 | 894 | ||
895 | Generate(retval, s, sb); | 895 | Generate(retval, s, sb); |
896 | return; | 896 | return; |
897 | } | 897 | } |
898 | } | 898 | } |
899 | 899 | ||
@@ -911,7 +911,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
911 | string modinvoke = null; | 911 | string modinvoke = null; |
912 | if (m_comms != null) | 912 | if (m_comms != null) |
913 | modinvoke = m_comms.LookupModInvocation(fc.Id); | 913 | modinvoke = m_comms.LookupModInvocation(fc.Id); |
914 | 914 | ||
915 | if (modinvoke != null) | 915 | if (modinvoke != null) |
916 | { | 916 | { |
917 | if (fc.kids[0] is ArgumentList) | 917 | if (fc.kids[0] is ArgumentList) |
@@ -926,7 +926,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
926 | { | 926 | { |
927 | Generate(String.Format("{0}(", CheckName(fc.Id)), fc, sb); | 927 | Generate(String.Format("{0}(", CheckName(fc.Id)), fc, sb); |
928 | } | 928 | } |
929 | 929 | ||
930 | foreach (SYMBOL kid in fc.kids) | 930 | foreach (SYMBOL kid in fc.kids) |
931 | GenerateNodeToSB(fc, kid, sb); | 931 | GenerateNodeToSB(fc, kid, sb); |
932 | 932 | ||
@@ -1124,7 +1124,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
1124 | { | 1124 | { |
1125 | Indent(sb); | 1125 | Indent(sb); |
1126 | sb.Append(s); | 1126 | sb.Append(s); |
1127 | 1127 | ||
1128 | if (null != sym) | 1128 | if (null != sym) |
1129 | m_positionMap.Add(new KeyValuePair<int, int>(m_CSharpLine, m_CSharpCol), new KeyValuePair<int, int>(sym.Line, sym.Position)); | 1129 | m_positionMap.Add(new KeyValuePair<int, int>(m_CSharpLine, m_CSharpCol), new KeyValuePair<int, int>(sym.Line, sym.Position)); |
1130 | 1130 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSReservedWords.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSReservedWords.cs index 7a2a4a0..19a248f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSReservedWords.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSReservedWords.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
84 | if (word.StartsWith("ll")) return false; | 84 | if (word.StartsWith("ll")) return false; |
85 | char first = word.ToCharArray(0,1)[0]; | 85 | char first = word.ToCharArray(0,1)[0]; |
86 | if (first >= 'A' && first <= 'Z') return false; | 86 | if (first >= 'A' && first <= 'Z') return false; |
87 | 87 | ||
88 | return (reservedWords.BinarySearch(word) >= 0); | 88 | return (reservedWords.BinarySearch(word) >= 0); |
89 | } | 89 | } |
90 | } | 90 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index f632cb0..f3b8e1d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
119 | { | 119 | { |
120 | in_startup = false; | 120 | in_startup = false; |
121 | CheckOrCreateScriptsDirectory(); | 121 | CheckOrCreateScriptsDirectory(); |
122 | 122 | ||
123 | // First time we start? Delete old files | 123 | // First time we start? Delete old files |
124 | if (DeleteScriptsOnStartup) | 124 | if (DeleteScriptsOnStartup) |
125 | DeleteOldFiles(); | 125 | DeleteOldFiles(); |
@@ -310,9 +310,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
310 | { | 310 | { |
311 | // m_log.DebugFormat("[Compiler]: Found existing assembly {0} for asset {1} in {2}", assembly, asset, m_scriptEngine.World.Name); | 311 | // m_log.DebugFormat("[Compiler]: Found existing assembly {0} for asset {1} in {2}", assembly, asset, m_scriptEngine.World.Name); |
312 | 312 | ||
313 | // If we have already read this linemap file, then it will be in our dictionary. | 313 | // If we have already read this linemap file, then it will be in our dictionary. |
314 | // Don't build another copy of the dictionary (saves memory) and certainly | 314 | // Don't build another copy of the dictionary (saves memory) and certainly |
315 | // don't keep reading the same file from disk multiple times. | 315 | // don't keep reading the same file from disk multiple times. |
316 | if (!m_lineMaps.ContainsKey(assembly)) | 316 | if (!m_lineMaps.ContainsKey(assembly)) |
317 | m_lineMaps[assembly] = ReadMapFile(assembly + ".map"); | 317 | m_lineMaps[assembly] = ReadMapFile(assembly + ".map"); |
318 | linemap = m_lineMaps[assembly]; | 318 | linemap = m_lineMaps[assembly]; |
@@ -366,8 +366,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
366 | 366 | ||
367 | LSL_Converter = (ICodeConverter)new CSCodeGenerator(comms, m_insertCoopTerminationCalls); | 367 | LSL_Converter = (ICodeConverter)new CSCodeGenerator(comms, m_insertCoopTerminationCalls); |
368 | AddCSScriptHeader( | 368 | AddCSScriptHeader( |
369 | m_scriptEngine.ScriptClassName, | 369 | m_scriptEngine.ScriptClassName, |
370 | m_scriptEngine.ScriptBaseClassName, | 370 | m_scriptEngine.ScriptBaseClassName, |
371 | m_scriptEngine.ScriptBaseClassParameters, | 371 | m_scriptEngine.ScriptBaseClassParameters, |
372 | sb); | 372 | sb); |
373 | 373 | ||
@@ -381,20 +381,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
381 | } | 381 | } |
382 | 382 | ||
383 | linemap = ((CSCodeGenerator)LSL_Converter).PositionMap; | 383 | linemap = ((CSCodeGenerator)LSL_Converter).PositionMap; |
384 | // Write the linemap to a file and save it in our dictionary for next time. | 384 | // Write the linemap to a file and save it in our dictionary for next time. |
385 | m_lineMaps[assembly] = linemap; | 385 | m_lineMaps[assembly] = linemap; |
386 | WriteMapFile(assembly + ".map", linemap); | 386 | WriteMapFile(assembly + ".map", linemap); |
387 | LSL_Converter.Clear(); | 387 | LSL_Converter.Clear(); |
388 | } | 388 | } |
389 | else | 389 | else |
390 | { | 390 | { |
391 | switch (language) | 391 | switch (language) |
392 | { | 392 | { |
393 | case enumCompileType.cs: | 393 | case enumCompileType.cs: |
394 | compileScript = CreateCSCompilerScript( | 394 | compileScript = CreateCSCompilerScript( |
395 | compileScript, | 395 | compileScript, |
396 | m_scriptEngine.ScriptClassName, | 396 | m_scriptEngine.ScriptClassName, |
397 | m_scriptEngine.ScriptBaseClassName, | 397 | m_scriptEngine.ScriptBaseClassName, |
398 | m_scriptEngine.ScriptBaseClassParameters); | 398 | m_scriptEngine.ScriptBaseClassParameters); |
399 | break; | 399 | break; |
400 | case enumCompileType.vb: | 400 | case enumCompileType.vb: |
@@ -434,22 +434,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
434 | public static void AddCSScriptHeader(string className, string baseClassName, ParameterInfo[] constructorParameters, StringBuilder sb) | 434 | public static void AddCSScriptHeader(string className, string baseClassName, ParameterInfo[] constructorParameters, StringBuilder sb) |
435 | { | 435 | { |
436 | sb.Append(string.Format( | 436 | sb.Append(string.Format( |
437 | @"using OpenSim.Region.ScriptEngine.Shared; | 437 | @"using OpenSim.Region.ScriptEngine.Shared; |
438 | using System.Collections.Generic; | 438 | using System.Collections.Generic; |
439 | 439 | ||
440 | namespace SecondLife | 440 | namespace SecondLife |
441 | {{ | 441 | {{ |
442 | public class {0} : {1} | 442 | public class {0} : {1} |
443 | {{ | 443 | {{ |
444 | public {0}({2}) : base({3}) {{}} | 444 | public {0}({2}) : base({3}) {{}} |
445 | ", | 445 | ", |
446 | className, | 446 | className, |
447 | baseClassName, | 447 | baseClassName, |
448 | constructorParameters != null | 448 | constructorParameters != null |
449 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.ToString())) | 449 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.ToString())) |
450 | : "", | 450 | : "", |
451 | constructorParameters != null | 451 | constructorParameters != null |
452 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.Name)) | 452 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.Name)) |
453 | : "" | 453 | : "" |
454 | )); | 454 | )); |
455 | } | 455 | } |
@@ -462,26 +462,26 @@ namespace SecondLife | |||
462 | public static string CreateCSCompilerScript( | 462 | public static string CreateCSCompilerScript( |
463 | string compileScript, string className, string baseClassName, ParameterInfo[] constructorParameters) | 463 | string compileScript, string className, string baseClassName, ParameterInfo[] constructorParameters) |
464 | { | 464 | { |
465 | compileScript = string.Format( | 465 | compileScript = string.Format( |
466 | @"using OpenSim.Region.ScriptEngine.Shared; | 466 | @"using OpenSim.Region.ScriptEngine.Shared; |
467 | using System.Collections.Generic; | 467 | using System.Collections.Generic; |
468 | 468 | ||
469 | namespace SecondLife | 469 | namespace SecondLife |
470 | {{ | 470 | {{ |
471 | public class {0} : {1} | 471 | public class {0} : {1} |
472 | {{ | 472 | {{ |
473 | public {0}({2}) : base({3}) {{}} | 473 | public {0}({2}) : base({3}) {{}} |
474 | {4} | 474 | {4} |
475 | }} | 475 | }} |
476 | }}", | 476 | }}", |
477 | className, | 477 | className, |
478 | baseClassName, | 478 | baseClassName, |
479 | constructorParameters != null | 479 | constructorParameters != null |
480 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.ToString())) | 480 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.ToString())) |
481 | : "", | 481 | : "", |
482 | constructorParameters != null | 482 | constructorParameters != null |
483 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.Name)) | 483 | ? string.Join(", ", Array.ConvertAll<ParameterInfo, string>(constructorParameters, pi => pi.Name)) |
484 | : "", | 484 | : "", |
485 | compileScript); | 485 | compileScript); |
486 | 486 | ||
487 | return compileScript; | 487 | return compileScript; |
@@ -508,7 +508,7 @@ namespace SecondLife | |||
508 | internal string CompileFromDotNetText(string Script, enumCompileType lang, string asset, string assembly) | 508 | internal string CompileFromDotNetText(string Script, enumCompileType lang, string asset, string assembly) |
509 | { | 509 | { |
510 | // m_log.DebugFormat("[Compiler]: Compiling to assembly\n{0}", Script); | 510 | // m_log.DebugFormat("[Compiler]: Compiling to assembly\n{0}", Script); |
511 | 511 | ||
512 | string ext = "." + lang.ToString(); | 512 | string ext = "." + lang.ToString(); |
513 | 513 | ||
514 | // Output assembly name | 514 | // Output assembly name |
@@ -562,7 +562,7 @@ namespace SecondLife | |||
562 | 562 | ||
563 | if (m_scriptEngine.ScriptReferencedAssemblies != null) | 563 | if (m_scriptEngine.ScriptReferencedAssemblies != null) |
564 | Array.ForEach<string>( | 564 | Array.ForEach<string>( |
565 | m_scriptEngine.ScriptReferencedAssemblies, | 565 | m_scriptEngine.ScriptReferencedAssemblies, |
566 | a => parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, a))); | 566 | a => parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, a))); |
567 | 567 | ||
568 | parameters.GenerateExecutable = false; | 568 | parameters.GenerateExecutable = false; |
@@ -571,7 +571,7 @@ namespace SecondLife | |||
571 | //parameters.WarningLevel = 1; // Should be 4? | 571 | //parameters.WarningLevel = 1; // Should be 4? |
572 | parameters.TreatWarningsAsErrors = false; | 572 | parameters.TreatWarningsAsErrors = false; |
573 | parameters.GenerateInMemory = false; | 573 | parameters.GenerateInMemory = false; |
574 | 574 | ||
575 | CompilerResults results; | 575 | CompilerResults results; |
576 | 576 | ||
577 | CodeDomProvider provider; | 577 | CodeDomProvider provider; |
@@ -605,7 +605,7 @@ namespace SecondLife | |||
605 | // results = CScodeProvider.CompileAssemblyFromSource( | 605 | // results = CScodeProvider.CompileAssemblyFromSource( |
606 | // parameters, Script); | 606 | // parameters, Script); |
607 | // } | 607 | // } |
608 | 608 | ||
609 | results = provider.CompileAssemblyFromSource( | 609 | results = provider.CompileAssemblyFromSource( |
610 | parameters, Script); | 610 | parameters, Script); |
611 | // Deal with an occasional segv in the compiler. | 611 | // Deal with an occasional segv in the compiler. |
@@ -685,14 +685,14 @@ namespace SecondLife | |||
685 | } | 685 | } |
686 | 686 | ||
687 | provider.Dispose(); | 687 | provider.Dispose(); |
688 | 688 | ||
689 | if (hadErrors) | 689 | if (hadErrors) |
690 | { | 690 | { |
691 | throw new Exception(errtext); | 691 | throw new Exception(errtext); |
692 | } | 692 | } |
693 | 693 | ||
694 | // On today's highly asynchronous systems, the result of | 694 | // On today's highly asynchronous systems, the result of |
695 | // the compile may not be immediately apparent. Wait a | 695 | // the compile may not be immediately apparent. Wait a |
696 | // reasonable amount of time before giving up on it. | 696 | // reasonable amount of time before giving up on it. |
697 | 697 | ||
698 | if (!File.Exists(assembly)) | 698 | if (!File.Exists(assembly)) |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Properties/AssemblyInfo.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Properties/AssemblyInfo.cs index 7966f59..304cd81 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Properties/AssemblyInfo.cs | |||
@@ -2,7 +2,7 @@ | |||
2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
4 | 4 | ||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenSim.Region.ScriptEngine.Shared.CodeTools")] | 8 | [assembly: AssemblyTitle("OpenSim.Region.ScriptEngine.Shared.CodeTools")] |
@@ -14,8 +14,8 @@ using System.Runtime.InteropServices; | |||
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
16 | 16 | ||
17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
21 | 21 | ||
@@ -25,7 +25,7 @@ using System.Runtime.InteropServices; | |||
25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
26 | // | 26 | // |
27 | // Major Version | 27 | // Major Version |
28 | // Minor Version | 28 | // Minor Version |
29 | // Build Number | 29 | // Build Number |
30 | // Revision | 30 | // Revision |
31 | // | 31 | // |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs index ad4ccf0..12ba4de 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests | |||
81 | m_resolveEventHandler = new ResolveEventHandler(AssemblyResolver.OnAssemblyResolve); | 81 | m_resolveEventHandler = new ResolveEventHandler(AssemblyResolver.OnAssemblyResolve); |
82 | 82 | ||
83 | System.AppDomain.CurrentDomain.AssemblyResolve += m_resolveEventHandler; | 83 | System.AppDomain.CurrentDomain.AssemblyResolve += m_resolveEventHandler; |
84 | 84 | ||
85 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.dll")); | 85 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.dll")); |
86 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.Api.Runtime.dll")); | 86 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Shared.Api.Runtime.dll")); |
87 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenMetaverseTypes.dll")); | 87 | m_compilerParameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenMetaverseTypes.dll")); |
@@ -112,7 +112,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests | |||
112 | CSCodeGenerator cg = new CSCodeGenerator(); | 112 | CSCodeGenerator cg = new CSCodeGenerator(); |
113 | string output = cg.Convert(input); | 113 | string output = cg.Convert(input); |
114 | 114 | ||
115 | output = Compiler.CreateCSCompilerScript(output, "script1", typeof(ScriptBaseClass).FullName, null); | 115 | output = Compiler.CreateCSCompilerScript(output, "script1", typeof(ScriptBaseClass).FullName, null); |
116 | // System.Console.WriteLine(output); | 116 | // System.Console.WriteLine(output); |
117 | 117 | ||
118 | positionMap = cg.PositionMap; | 118 | positionMap = cg.PositionMap; |
@@ -154,7 +154,7 @@ erros position is better tested on viewers | |||
154 | @l; | 154 | @l; |
155 | i = 1; | 155 | i = 1; |
156 | } | 156 | } |
157 | }", out positionMap); | 157 | }", out positionMap); |
158 | 158 | ||
159 | Assert.AreEqual( | 159 | Assert.AreEqual( |
160 | new KeyValuePair<int, int>(7, 9), | 160 | new KeyValuePair<int, int>(7, 9), |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs index 67ce10a..220ec72 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs | |||
@@ -150,7 +150,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
150 | // TestHelpers.EnableLogging(); | 150 | // TestHelpers.EnableLogging(); |
151 | 151 | ||
152 | TestIntArgEvent("changed"); | 152 | TestIntArgEvent("changed"); |
153 | } | 153 | } |
154 | 154 | ||
155 | [Test] | 155 | [Test] |
156 | public void TestCollisionEvent() | 156 | public void TestCollisionEvent() |
@@ -159,7 +159,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
159 | // TestHelpers.EnableLogging(); | 159 | // TestHelpers.EnableLogging(); |
160 | 160 | ||
161 | TestIntArgEvent("collision"); | 161 | TestIntArgEvent("collision"); |
162 | } | 162 | } |
163 | 163 | ||
164 | [Test] | 164 | [Test] |
165 | public void TestCollisionStartEvent() | 165 | public void TestCollisionStartEvent() |
@@ -168,7 +168,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
168 | // TestHelpers.EnableLogging(); | 168 | // TestHelpers.EnableLogging(); |
169 | 169 | ||
170 | TestIntArgEvent("collision_start"); | 170 | TestIntArgEvent("collision_start"); |
171 | } | 171 | } |
172 | 172 | ||
173 | [Test] | 173 | [Test] |
174 | public void TestCollisionEndEvent() | 174 | public void TestCollisionEndEvent() |
@@ -177,7 +177,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
177 | // TestHelpers.EnableLogging(); | 177 | // TestHelpers.EnableLogging(); |
178 | 178 | ||
179 | TestIntArgEvent("collision_end"); | 179 | TestIntArgEvent("collision_end"); |
180 | } | 180 | } |
181 | 181 | ||
182 | [Test] | 182 | [Test] |
183 | public void TestOnRezEvent() | 183 | public void TestOnRezEvent() |
@@ -186,7 +186,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
186 | // TestHelpers.EnableLogging(); | 186 | // TestHelpers.EnableLogging(); |
187 | 187 | ||
188 | TestIntArgEvent("on_rez"); | 188 | TestIntArgEvent("on_rez"); |
189 | } | 189 | } |
190 | 190 | ||
191 | [Test] | 191 | [Test] |
192 | public void TestRunTimePermissionsEvent() | 192 | public void TestRunTimePermissionsEvent() |
@@ -195,7 +195,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
195 | // TestHelpers.EnableLogging(); | 195 | // TestHelpers.EnableLogging(); |
196 | 196 | ||
197 | TestIntArgEvent("run_time_permissions"); | 197 | TestIntArgEvent("run_time_permissions"); |
198 | } | 198 | } |
199 | 199 | ||
200 | [Test] | 200 | [Test] |
201 | public void TestSensorEvent() | 201 | public void TestSensorEvent() |
@@ -204,7 +204,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
204 | // TestHelpers.EnableLogging(); | 204 | // TestHelpers.EnableLogging(); |
205 | 205 | ||
206 | TestIntArgEvent("sensor"); | 206 | TestIntArgEvent("sensor"); |
207 | } | 207 | } |
208 | 208 | ||
209 | [Test] | 209 | [Test] |
210 | public void TestTouchEvent() | 210 | public void TestTouchEvent() |
@@ -213,7 +213,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
213 | // TestHelpers.EnableLogging(); | 213 | // TestHelpers.EnableLogging(); |
214 | 214 | ||
215 | TestIntArgEvent("touch"); | 215 | TestIntArgEvent("touch"); |
216 | } | 216 | } |
217 | 217 | ||
218 | [Test] | 218 | [Test] |
219 | public void TestTouchStartEvent() | 219 | public void TestTouchStartEvent() |
@@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
222 | // TestHelpers.EnableLogging(); | 222 | // TestHelpers.EnableLogging(); |
223 | 223 | ||
224 | TestIntArgEvent("touch_start"); | 224 | TestIntArgEvent("touch_start"); |
225 | } | 225 | } |
226 | 226 | ||
227 | [Test] | 227 | [Test] |
228 | public void TestTouchEndEvent() | 228 | public void TestTouchEndEvent() |
@@ -231,7 +231,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
231 | // TestHelpers.EnableLogging(); | 231 | // TestHelpers.EnableLogging(); |
232 | 232 | ||
233 | TestIntArgEvent("touch_end"); | 233 | TestIntArgEvent("touch_end"); |
234 | } | 234 | } |
235 | 235 | ||
236 | [Test] | 236 | [Test] |
237 | public void TestLandCollisionEvent() | 237 | public void TestLandCollisionEvent() |
@@ -351,8 +351,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
351 | } | 351 | } |
352 | 352 | ||
353 | Assert.That( | 353 | Assert.That( |
354 | gotException, | 354 | gotException, |
355 | Is.EqualTo(expectException), | 355 | Is.EqualTo(expectException), |
356 | "Failed on {0}, exception {1}", script, ge != null ? ge.ToString() : "n/a"); | 356 | "Failed on {0}, exception {1}", script, ge != null ? ge.ToString() : "n/a"); |
357 | } | 357 | } |
358 | } | 358 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs index f87f446..66210b7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.lexer.cs | |||
@@ -379,7 +379,7 @@ public override int yynum { get { return 96; }} | |||
379 | public FLOAT_CONSTANT(Lexer yyl):base(yyl) {}} | 379 | public FLOAT_CONSTANT(Lexer yyl):base(yyl) {}} |
380 | //%|LSLTokens | 380 | //%|LSLTokens |
381 | public class yyLSLTokens : YyLexer { | 381 | public class yyLSLTokens : YyLexer { |
382 | public yyLSLTokens(ErrorHandler eh):base(eh) { arr = new int[] { | 382 | public yyLSLTokens(ErrorHandler eh):base(eh) { arr = new int[] { |
383 | 101,4,6,52,0, | 383 | 101,4,6,52,0, |
384 | 46,0,53,0,6, | 384 | 46,0,53,0,6, |
385 | 102,4,16,117,0, | 385 | 102,4,16,117,0, |
@@ -19717,13 +19717,13 @@ public override TOKEN OldAction(Lexer yym,ref string yytext,int action, ref bool | |||
19717 | break; | 19717 | break; |
19718 | case 1063: ; | 19718 | case 1063: ; |
19719 | break; | 19719 | break; |
19720 | case 1076: ; | 19720 | case 1076: ; |
19721 | break; | 19721 | break; |
19722 | case 1032: { yym.yy_begin("YYINITIAL"); ((LSLTokens)yym).yytext = ((LSLTokens)yym).str; ((LSLTokens)yym).str = String.Empty; return new STRING_CONSTANT(yym); } | 19722 | case 1032: { yym.yy_begin("YYINITIAL"); ((LSLTokens)yym).yytext = ((LSLTokens)yym).str; ((LSLTokens)yym).str = String.Empty; return new STRING_CONSTANT(yym); } |
19723 | break; | 19723 | break; |
19724 | case 1067: ; | 19724 | case 1067: ; |
19725 | break; | 19725 | break; |
19726 | case 1072: ; | 19726 | case 1072: ; |
19727 | break; | 19727 | break; |
19728 | case 1003: { ((LSLTokens)yym).str += "\\\""; } | 19728 | case 1003: { ((LSLTokens)yym).str += "\\\""; } |
19729 | break; | 19729 | break; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs index 5fef83c..e4b5891 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs | |||
@@ -886,1493 +886,1493 @@ public IncrementDecrementExpression(Parser yyp):base(yyp){}} | |||
886 | 886 | ||
887 | public class LSLProgramRoot_1 : LSLProgramRoot { | 887 | public class LSLProgramRoot_1 : LSLProgramRoot { |
888 | public LSLProgramRoot_1(Parser yyq):base(yyq, | 888 | public LSLProgramRoot_1(Parser yyq):base(yyq, |
889 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) | 889 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) |
890 | , | 890 | , |
891 | ((States)(yyq.StackAt(0).m_value)) | 891 | ((States)(yyq.StackAt(0).m_value)) |
892 | ){}} | 892 | ){}} |
893 | 893 | ||
894 | public class LSLProgramRoot_2 : LSLProgramRoot { | 894 | public class LSLProgramRoot_2 : LSLProgramRoot { |
895 | public LSLProgramRoot_2(Parser yyq):base(yyq, | 895 | public LSLProgramRoot_2(Parser yyq):base(yyq, |
896 | ((States)(yyq.StackAt(0).m_value)) | 896 | ((States)(yyq.StackAt(0).m_value)) |
897 | ){}} | 897 | ){}} |
898 | 898 | ||
899 | public class GlobalDefinitions_1 : GlobalDefinitions { | 899 | public class GlobalDefinitions_1 : GlobalDefinitions { |
900 | public GlobalDefinitions_1(Parser yyq):base(yyq, | 900 | public GlobalDefinitions_1(Parser yyq):base(yyq, |
901 | ((GlobalVariableDeclaration)(yyq.StackAt(0).m_value)) | 901 | ((GlobalVariableDeclaration)(yyq.StackAt(0).m_value)) |
902 | ){}} | 902 | ){}} |
903 | 903 | ||
904 | public class GlobalDefinitions_2 : GlobalDefinitions { | 904 | public class GlobalDefinitions_2 : GlobalDefinitions { |
905 | public GlobalDefinitions_2(Parser yyq):base(yyq, | 905 | public GlobalDefinitions_2(Parser yyq):base(yyq, |
906 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) | 906 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) |
907 | , | 907 | , |
908 | ((GlobalVariableDeclaration)(yyq.StackAt(0).m_value)) | 908 | ((GlobalVariableDeclaration)(yyq.StackAt(0).m_value)) |
909 | ){}} | 909 | ){}} |
910 | 910 | ||
911 | public class GlobalDefinitions_3 : GlobalDefinitions { | 911 | public class GlobalDefinitions_3 : GlobalDefinitions { |
912 | public GlobalDefinitions_3(Parser yyq):base(yyq, | 912 | public GlobalDefinitions_3(Parser yyq):base(yyq, |
913 | ((GlobalFunctionDefinition)(yyq.StackAt(0).m_value)) | 913 | ((GlobalFunctionDefinition)(yyq.StackAt(0).m_value)) |
914 | ){}} | 914 | ){}} |
915 | 915 | ||
916 | public class GlobalDefinitions_4 : GlobalDefinitions { | 916 | public class GlobalDefinitions_4 : GlobalDefinitions { |
917 | public GlobalDefinitions_4(Parser yyq):base(yyq, | 917 | public GlobalDefinitions_4(Parser yyq):base(yyq, |
918 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) | 918 | ((GlobalDefinitions)(yyq.StackAt(1).m_value)) |
919 | , | 919 | , |
920 | ((GlobalFunctionDefinition)(yyq.StackAt(0).m_value)) | 920 | ((GlobalFunctionDefinition)(yyq.StackAt(0).m_value)) |
921 | ){}} | 921 | ){}} |
922 | 922 | ||
923 | public class GlobalVariableDeclaration_1 : GlobalVariableDeclaration { | 923 | public class GlobalVariableDeclaration_1 : GlobalVariableDeclaration { |
924 | public GlobalVariableDeclaration_1(Parser yyq):base(yyq, | 924 | public GlobalVariableDeclaration_1(Parser yyq):base(yyq, |
925 | ((Declaration)(yyq.StackAt(1).m_value)) | 925 | ((Declaration)(yyq.StackAt(1).m_value)) |
926 | ){}} | 926 | ){}} |
927 | 927 | ||
928 | public class GlobalVariableDeclaration_2 : GlobalVariableDeclaration { | 928 | public class GlobalVariableDeclaration_2 : GlobalVariableDeclaration { |
929 | public GlobalVariableDeclaration_2(Parser yyq):base(yyq,new Assignment(((LSLSyntax | 929 | public GlobalVariableDeclaration_2(Parser yyq):base(yyq,new Assignment(((LSLSyntax |
930 | )yyq), | 930 | )yyq), |
931 | ((Declaration)(yyq.StackAt(3).m_value)) | 931 | ((Declaration)(yyq.StackAt(3).m_value)) |
932 | , | 932 | , |
933 | ((Expression)(yyq.StackAt(1).m_value)) | 933 | ((Expression)(yyq.StackAt(1).m_value)) |
934 | , | 934 | , |
935 | ((EQUALS)(yyq.StackAt(2).m_value)) | 935 | ((EQUALS)(yyq.StackAt(2).m_value)) |
936 | .yytext)){}} | 936 | .yytext)){}} |
937 | 937 | ||
938 | public class GlobalFunctionDefinition_1 : GlobalFunctionDefinition { | 938 | public class GlobalFunctionDefinition_1 : GlobalFunctionDefinition { |
939 | public GlobalFunctionDefinition_1(Parser yyq):base(yyq,"void", | 939 | public GlobalFunctionDefinition_1(Parser yyq):base(yyq,"void", |
940 | ((IDENT)(yyq.StackAt(4).m_value)) | 940 | ((IDENT)(yyq.StackAt(4).m_value)) |
941 | .yytext, | 941 | .yytext, |
942 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 942 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
943 | , | 943 | , |
944 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 944 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
945 | ){}} | 945 | ){}} |
946 | 946 | ||
947 | public class GlobalFunctionDefinition_2 : GlobalFunctionDefinition { | 947 | public class GlobalFunctionDefinition_2 : GlobalFunctionDefinition { |
948 | public GlobalFunctionDefinition_2(Parser yyq):base(yyq, | 948 | public GlobalFunctionDefinition_2(Parser yyq):base(yyq, |
949 | ((Typename)(yyq.StackAt(5).m_value)) | 949 | ((Typename)(yyq.StackAt(5).m_value)) |
950 | .yytext, | 950 | .yytext, |
951 | ((IDENT)(yyq.StackAt(4).m_value)) | 951 | ((IDENT)(yyq.StackAt(4).m_value)) |
952 | .yytext, | 952 | .yytext, |
953 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 953 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
954 | , | 954 | , |
955 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 955 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
956 | ){}} | 956 | ){}} |
957 | 957 | ||
958 | public class States_1 : States { | 958 | public class States_1 : States { |
959 | public States_1(Parser yyq):base(yyq, | 959 | public States_1(Parser yyq):base(yyq, |
960 | ((State)(yyq.StackAt(0).m_value)) | 960 | ((State)(yyq.StackAt(0).m_value)) |
961 | ){}} | 961 | ){}} |
962 | 962 | ||
963 | public class States_2 : States { | 963 | public class States_2 : States { |
964 | public States_2(Parser yyq):base(yyq, | 964 | public States_2(Parser yyq):base(yyq, |
965 | ((States)(yyq.StackAt(1).m_value)) | 965 | ((States)(yyq.StackAt(1).m_value)) |
966 | , | 966 | , |
967 | ((State)(yyq.StackAt(0).m_value)) | 967 | ((State)(yyq.StackAt(0).m_value)) |
968 | ){}} | 968 | ){}} |
969 | 969 | ||
970 | public class State_1 : State { | 970 | public class State_1 : State { |
971 | public State_1(Parser yyq):base(yyq, | 971 | public State_1(Parser yyq):base(yyq, |
972 | ((DEFAULT_STATE)(yyq.StackAt(3).m_value)) | 972 | ((DEFAULT_STATE)(yyq.StackAt(3).m_value)) |
973 | .yytext, | 973 | .yytext, |
974 | ((StateBody)(yyq.StackAt(1).m_value)) | 974 | ((StateBody)(yyq.StackAt(1).m_value)) |
975 | ){}} | 975 | ){}} |
976 | 976 | ||
977 | public class State_2 : State { | 977 | public class State_2 : State { |
978 | public State_2(Parser yyq):base(yyq, | 978 | public State_2(Parser yyq):base(yyq, |
979 | ((IDENT)(yyq.StackAt(3).m_value)) | 979 | ((IDENT)(yyq.StackAt(3).m_value)) |
980 | .yytext, | 980 | .yytext, |
981 | ((StateBody)(yyq.StackAt(1).m_value)) | 981 | ((StateBody)(yyq.StackAt(1).m_value)) |
982 | ){}} | 982 | ){}} |
983 | 983 | ||
984 | public class StateBody_1 : StateBody { | 984 | public class StateBody_1 : StateBody { |
985 | public StateBody_1(Parser yyq):base(yyq, | 985 | public StateBody_1(Parser yyq):base(yyq, |
986 | ((StateEvent)(yyq.StackAt(0).m_value)) | 986 | ((StateEvent)(yyq.StackAt(0).m_value)) |
987 | ){}} | 987 | ){}} |
988 | 988 | ||
989 | public class StateBody_2 : StateBody { | 989 | public class StateBody_2 : StateBody { |
990 | public StateBody_2(Parser yyq):base(yyq, | 990 | public StateBody_2(Parser yyq):base(yyq, |
991 | ((StateBody)(yyq.StackAt(1).m_value)) | 991 | ((StateBody)(yyq.StackAt(1).m_value)) |
992 | , | 992 | , |
993 | ((StateEvent)(yyq.StackAt(0).m_value)) | 993 | ((StateEvent)(yyq.StackAt(0).m_value)) |
994 | ){}} | 994 | ){}} |
995 | 995 | ||
996 | public class StateBody_3 : StateBody { | 996 | public class StateBody_3 : StateBody { |
997 | public StateBody_3(Parser yyq):base(yyq, | 997 | public StateBody_3(Parser yyq):base(yyq, |
998 | ((VoidArgStateEvent)(yyq.StackAt(0).m_value)) | 998 | ((VoidArgStateEvent)(yyq.StackAt(0).m_value)) |
999 | ){}} | 999 | ){}} |
1000 | 1000 | ||
1001 | public class StateBody_4 : StateBody { | 1001 | public class StateBody_4 : StateBody { |
1002 | public StateBody_4(Parser yyq):base(yyq, | 1002 | public StateBody_4(Parser yyq):base(yyq, |
1003 | ((StateBody)(yyq.StackAt(1).m_value)) | 1003 | ((StateBody)(yyq.StackAt(1).m_value)) |
1004 | , | 1004 | , |
1005 | ((VoidArgStateEvent)(yyq.StackAt(0).m_value)) | 1005 | ((VoidArgStateEvent)(yyq.StackAt(0).m_value)) |
1006 | ){}} | 1006 | ){}} |
1007 | 1007 | ||
1008 | public class StateBody_5 : StateBody { | 1008 | public class StateBody_5 : StateBody { |
1009 | public StateBody_5(Parser yyq):base(yyq, | 1009 | public StateBody_5(Parser yyq):base(yyq, |
1010 | ((KeyArgStateEvent)(yyq.StackAt(0).m_value)) | 1010 | ((KeyArgStateEvent)(yyq.StackAt(0).m_value)) |
1011 | ){}} | 1011 | ){}} |
1012 | 1012 | ||
1013 | public class StateBody_6 : StateBody { | 1013 | public class StateBody_6 : StateBody { |
1014 | public StateBody_6(Parser yyq):base(yyq, | 1014 | public StateBody_6(Parser yyq):base(yyq, |
1015 | ((StateBody)(yyq.StackAt(1).m_value)) | 1015 | ((StateBody)(yyq.StackAt(1).m_value)) |
1016 | , | 1016 | , |
1017 | ((KeyArgStateEvent)(yyq.StackAt(0).m_value)) | 1017 | ((KeyArgStateEvent)(yyq.StackAt(0).m_value)) |
1018 | ){}} | 1018 | ){}} |
1019 | 1019 | ||
1020 | public class StateBody_7 : StateBody { | 1020 | public class StateBody_7 : StateBody { |
1021 | public StateBody_7(Parser yyq):base(yyq, | 1021 | public StateBody_7(Parser yyq):base(yyq, |
1022 | ((IntArgStateEvent)(yyq.StackAt(0).m_value)) | 1022 | ((IntArgStateEvent)(yyq.StackAt(0).m_value)) |
1023 | ){}} | 1023 | ){}} |
1024 | 1024 | ||
1025 | public class StateBody_8 : StateBody { | 1025 | public class StateBody_8 : StateBody { |
1026 | public StateBody_8(Parser yyq):base(yyq, | 1026 | public StateBody_8(Parser yyq):base(yyq, |
1027 | ((StateBody)(yyq.StackAt(1).m_value)) | 1027 | ((StateBody)(yyq.StackAt(1).m_value)) |
1028 | , | 1028 | , |
1029 | ((IntArgStateEvent)(yyq.StackAt(0).m_value)) | 1029 | ((IntArgStateEvent)(yyq.StackAt(0).m_value)) |
1030 | ){}} | 1030 | ){}} |
1031 | 1031 | ||
1032 | public class StateBody_9 : StateBody { | 1032 | public class StateBody_9 : StateBody { |
1033 | public StateBody_9(Parser yyq):base(yyq, | 1033 | public StateBody_9(Parser yyq):base(yyq, |
1034 | ((VectorArgStateEvent)(yyq.StackAt(0).m_value)) | 1034 | ((VectorArgStateEvent)(yyq.StackAt(0).m_value)) |
1035 | ){}} | 1035 | ){}} |
1036 | 1036 | ||
1037 | public class StateBody_10 : StateBody { | 1037 | public class StateBody_10 : StateBody { |
1038 | public StateBody_10(Parser yyq):base(yyq, | 1038 | public StateBody_10(Parser yyq):base(yyq, |
1039 | ((StateBody)(yyq.StackAt(1).m_value)) | 1039 | ((StateBody)(yyq.StackAt(1).m_value)) |
1040 | , | 1040 | , |
1041 | ((VectorArgStateEvent)(yyq.StackAt(0).m_value)) | 1041 | ((VectorArgStateEvent)(yyq.StackAt(0).m_value)) |
1042 | ){}} | 1042 | ){}} |
1043 | 1043 | ||
1044 | public class StateBody_11 : StateBody { | 1044 | public class StateBody_11 : StateBody { |
1045 | public StateBody_11(Parser yyq):base(yyq, | 1045 | public StateBody_11(Parser yyq):base(yyq, |
1046 | ((IntRotRotArgStateEvent)(yyq.StackAt(0).m_value)) | 1046 | ((IntRotRotArgStateEvent)(yyq.StackAt(0).m_value)) |
1047 | ){}} | 1047 | ){}} |
1048 | 1048 | ||
1049 | public class StateBody_12 : StateBody { | 1049 | public class StateBody_12 : StateBody { |
1050 | public StateBody_12(Parser yyq):base(yyq, | 1050 | public StateBody_12(Parser yyq):base(yyq, |
1051 | ((StateBody)(yyq.StackAt(1).m_value)) | 1051 | ((StateBody)(yyq.StackAt(1).m_value)) |
1052 | , | 1052 | , |
1053 | ((IntRotRotArgStateEvent)(yyq.StackAt(0).m_value)) | 1053 | ((IntRotRotArgStateEvent)(yyq.StackAt(0).m_value)) |
1054 | ){}} | 1054 | ){}} |
1055 | 1055 | ||
1056 | public class StateBody_13 : StateBody { | 1056 | public class StateBody_13 : StateBody { |
1057 | public StateBody_13(Parser yyq):base(yyq, | 1057 | public StateBody_13(Parser yyq):base(yyq, |
1058 | ((IntVecVecArgStateEvent)(yyq.StackAt(0).m_value)) | 1058 | ((IntVecVecArgStateEvent)(yyq.StackAt(0).m_value)) |
1059 | ){}} | 1059 | ){}} |
1060 | 1060 | ||
1061 | public class StateBody_14 : StateBody { | 1061 | public class StateBody_14 : StateBody { |
1062 | public StateBody_14(Parser yyq):base(yyq, | 1062 | public StateBody_14(Parser yyq):base(yyq, |
1063 | ((StateBody)(yyq.StackAt(1).m_value)) | 1063 | ((StateBody)(yyq.StackAt(1).m_value)) |
1064 | , | 1064 | , |
1065 | ((IntVecVecArgStateEvent)(yyq.StackAt(0).m_value)) | 1065 | ((IntVecVecArgStateEvent)(yyq.StackAt(0).m_value)) |
1066 | ){}} | 1066 | ){}} |
1067 | 1067 | ||
1068 | public class StateBody_15 : StateBody { | 1068 | public class StateBody_15 : StateBody { |
1069 | public StateBody_15(Parser yyq):base(yyq, | 1069 | public StateBody_15(Parser yyq):base(yyq, |
1070 | ((KeyIntIntArgStateEvent)(yyq.StackAt(0).m_value)) | 1070 | ((KeyIntIntArgStateEvent)(yyq.StackAt(0).m_value)) |
1071 | ){}} | 1071 | ){}} |
1072 | 1072 | ||
1073 | public class StateBody_16 : StateBody { | 1073 | public class StateBody_16 : StateBody { |
1074 | public StateBody_16(Parser yyq):base(yyq, | 1074 | public StateBody_16(Parser yyq):base(yyq, |
1075 | ((StateBody)(yyq.StackAt(1).m_value)) | 1075 | ((StateBody)(yyq.StackAt(1).m_value)) |
1076 | , | 1076 | , |
1077 | ((KeyIntIntArgStateEvent)(yyq.StackAt(0).m_value)) | 1077 | ((KeyIntIntArgStateEvent)(yyq.StackAt(0).m_value)) |
1078 | ){}} | 1078 | ){}} |
1079 | 1079 | ||
1080 | public class StateEvent_1 : StateEvent { | 1080 | public class StateEvent_1 : StateEvent { |
1081 | public StateEvent_1(Parser yyq):base(yyq, | 1081 | public StateEvent_1(Parser yyq):base(yyq, |
1082 | ((Event)(yyq.StackAt(4).m_value)) | 1082 | ((Event)(yyq.StackAt(4).m_value)) |
1083 | .yytext, | 1083 | .yytext, |
1084 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1084 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1085 | , | 1085 | , |
1086 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1086 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1087 | ){}} | 1087 | ){}} |
1088 | 1088 | ||
1089 | public class VoidArgStateEvent_1 : VoidArgStateEvent { | 1089 | public class VoidArgStateEvent_1 : VoidArgStateEvent { |
1090 | public VoidArgStateEvent_1(Parser yyq):base(yyq, | 1090 | public VoidArgStateEvent_1(Parser yyq):base(yyq, |
1091 | ((VoidArgEvent)(yyq.StackAt(3).m_value)) | 1091 | ((VoidArgEvent)(yyq.StackAt(3).m_value)) |
1092 | .yytext, | 1092 | .yytext, |
1093 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1093 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1094 | ){}} | 1094 | ){}} |
1095 | 1095 | ||
1096 | public class KeyArgStateEvent_1 : KeyArgStateEvent { | 1096 | public class KeyArgStateEvent_1 : KeyArgStateEvent { |
1097 | public KeyArgStateEvent_1(Parser yyq):base(yyq, | 1097 | public KeyArgStateEvent_1(Parser yyq):base(yyq, |
1098 | ((KeyArgEvent)(yyq.StackAt(4).m_value)) | 1098 | ((KeyArgEvent)(yyq.StackAt(4).m_value)) |
1099 | .yytext, | 1099 | .yytext, |
1100 | ((KeyArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1100 | ((KeyArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1101 | , | 1101 | , |
1102 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1102 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1103 | ){}} | 1103 | ){}} |
1104 | 1104 | ||
1105 | public class IntArgStateEvent_1 : IntArgStateEvent { | 1105 | public class IntArgStateEvent_1 : IntArgStateEvent { |
1106 | public IntArgStateEvent_1(Parser yyq):base(yyq, | 1106 | public IntArgStateEvent_1(Parser yyq):base(yyq, |
1107 | ((IntArgEvent)(yyq.StackAt(4).m_value)) | 1107 | ((IntArgEvent)(yyq.StackAt(4).m_value)) |
1108 | .yytext, | 1108 | .yytext, |
1109 | ((IntArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1109 | ((IntArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1110 | , | 1110 | , |
1111 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1111 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1112 | ){}} | 1112 | ){}} |
1113 | 1113 | ||
1114 | public class VectorArgStateEvent_1 : VectorArgStateEvent { | 1114 | public class VectorArgStateEvent_1 : VectorArgStateEvent { |
1115 | public VectorArgStateEvent_1(Parser yyq):base(yyq, | 1115 | public VectorArgStateEvent_1(Parser yyq):base(yyq, |
1116 | ((VectorArgEvent)(yyq.StackAt(4).m_value)) | 1116 | ((VectorArgEvent)(yyq.StackAt(4).m_value)) |
1117 | .yytext, | 1117 | .yytext, |
1118 | ((VectorArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1118 | ((VectorArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1119 | , | 1119 | , |
1120 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1120 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1121 | ){}} | 1121 | ){}} |
1122 | 1122 | ||
1123 | public class IntRotRotArgStateEvent_1 : IntRotRotArgStateEvent { | 1123 | public class IntRotRotArgStateEvent_1 : IntRotRotArgStateEvent { |
1124 | public IntRotRotArgStateEvent_1(Parser yyq):base(yyq, | 1124 | public IntRotRotArgStateEvent_1(Parser yyq):base(yyq, |
1125 | ((IntRotRotArgEvent)(yyq.StackAt(4).m_value)) | 1125 | ((IntRotRotArgEvent)(yyq.StackAt(4).m_value)) |
1126 | .yytext, | 1126 | .yytext, |
1127 | ((IntRotRotArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1127 | ((IntRotRotArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1128 | , | 1128 | , |
1129 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1129 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1130 | ){}} | 1130 | ){}} |
1131 | 1131 | ||
1132 | public class IntVecVecArgStateEvent_1 : IntVecVecArgStateEvent { | 1132 | public class IntVecVecArgStateEvent_1 : IntVecVecArgStateEvent { |
1133 | public IntVecVecArgStateEvent_1(Parser yyq):base(yyq, | 1133 | public IntVecVecArgStateEvent_1(Parser yyq):base(yyq, |
1134 | ((IntVecVecArgEvent)(yyq.StackAt(4).m_value)) | 1134 | ((IntVecVecArgEvent)(yyq.StackAt(4).m_value)) |
1135 | .yytext, | 1135 | .yytext, |
1136 | ((IntVecVecArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1136 | ((IntVecVecArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1137 | , | 1137 | , |
1138 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1138 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1139 | ){}} | 1139 | ){}} |
1140 | 1140 | ||
1141 | public class KeyIntIntArgStateEvent_1 : KeyIntIntArgStateEvent { | 1141 | public class KeyIntIntArgStateEvent_1 : KeyIntIntArgStateEvent { |
1142 | public KeyIntIntArgStateEvent_1(Parser yyq):base(yyq, | 1142 | public KeyIntIntArgStateEvent_1(Parser yyq):base(yyq, |
1143 | ((KeyIntIntArgEvent)(yyq.StackAt(4).m_value)) | 1143 | ((KeyIntIntArgEvent)(yyq.StackAt(4).m_value)) |
1144 | .yytext, | 1144 | .yytext, |
1145 | ((KeyIntIntArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1145 | ((KeyIntIntArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1146 | , | 1146 | , |
1147 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1147 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1148 | ){}} | 1148 | ){}} |
1149 | 1149 | ||
1150 | public class ArgumentDeclarationList_1 : ArgumentDeclarationList { | 1150 | public class ArgumentDeclarationList_1 : ArgumentDeclarationList { |
1151 | public ArgumentDeclarationList_1(Parser yyq):base(yyq, | 1151 | public ArgumentDeclarationList_1(Parser yyq):base(yyq, |
1152 | ((Declaration)(yyq.StackAt(0).m_value)) | 1152 | ((Declaration)(yyq.StackAt(0).m_value)) |
1153 | ){}} | 1153 | ){}} |
1154 | 1154 | ||
1155 | public class ArgumentDeclarationList_2 : ArgumentDeclarationList { | 1155 | public class ArgumentDeclarationList_2 : ArgumentDeclarationList { |
1156 | public ArgumentDeclarationList_2(Parser yyq):base(yyq, | 1156 | public ArgumentDeclarationList_2(Parser yyq):base(yyq, |
1157 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) | 1157 | ((ArgumentDeclarationList)(yyq.StackAt(2).m_value)) |
1158 | , | 1158 | , |
1159 | ((Declaration)(yyq.StackAt(0).m_value)) | 1159 | ((Declaration)(yyq.StackAt(0).m_value)) |
1160 | ){}} | 1160 | ){}} |
1161 | 1161 | ||
1162 | public class KeyArgumentDeclarationList_1 : KeyArgumentDeclarationList { | 1162 | public class KeyArgumentDeclarationList_1 : KeyArgumentDeclarationList { |
1163 | public KeyArgumentDeclarationList_1(Parser yyq):base(yyq, | 1163 | public KeyArgumentDeclarationList_1(Parser yyq):base(yyq, |
1164 | ((KeyDeclaration)(yyq.StackAt(0).m_value)) | 1164 | ((KeyDeclaration)(yyq.StackAt(0).m_value)) |
1165 | ){}} | 1165 | ){}} |
1166 | 1166 | ||
1167 | public class IntArgumentDeclarationList_1 : IntArgumentDeclarationList { | 1167 | public class IntArgumentDeclarationList_1 : IntArgumentDeclarationList { |
1168 | public IntArgumentDeclarationList_1(Parser yyq):base(yyq, | 1168 | public IntArgumentDeclarationList_1(Parser yyq):base(yyq, |
1169 | ((IntDeclaration)(yyq.StackAt(0).m_value)) | 1169 | ((IntDeclaration)(yyq.StackAt(0).m_value)) |
1170 | ){}} | 1170 | ){}} |
1171 | 1171 | ||
1172 | public class VectorArgumentDeclarationList_1 : VectorArgumentDeclarationList { | 1172 | public class VectorArgumentDeclarationList_1 : VectorArgumentDeclarationList { |
1173 | public VectorArgumentDeclarationList_1(Parser yyq):base(yyq, | 1173 | public VectorArgumentDeclarationList_1(Parser yyq):base(yyq, |
1174 | ((VecDeclaration)(yyq.StackAt(0).m_value)) | 1174 | ((VecDeclaration)(yyq.StackAt(0).m_value)) |
1175 | ){}} | 1175 | ){}} |
1176 | 1176 | ||
1177 | public class IntRotRotArgumentDeclarationList_1 : IntRotRotArgumentDeclarationList { | 1177 | public class IntRotRotArgumentDeclarationList_1 : IntRotRotArgumentDeclarationList { |
1178 | public IntRotRotArgumentDeclarationList_1(Parser yyq):base(yyq, | 1178 | public IntRotRotArgumentDeclarationList_1(Parser yyq):base(yyq, |
1179 | ((IntDeclaration)(yyq.StackAt(4).m_value)) | 1179 | ((IntDeclaration)(yyq.StackAt(4).m_value)) |
1180 | , | 1180 | , |
1181 | ((RotDeclaration)(yyq.StackAt(2).m_value)) | 1181 | ((RotDeclaration)(yyq.StackAt(2).m_value)) |
1182 | , | 1182 | , |
1183 | ((RotDeclaration)(yyq.StackAt(0).m_value)) | 1183 | ((RotDeclaration)(yyq.StackAt(0).m_value)) |
1184 | ){}} | 1184 | ){}} |
1185 | 1185 | ||
1186 | public class IntVecVecArgumentDeclarationList_1 : IntVecVecArgumentDeclarationList { | 1186 | public class IntVecVecArgumentDeclarationList_1 : IntVecVecArgumentDeclarationList { |
1187 | public IntVecVecArgumentDeclarationList_1(Parser yyq):base(yyq, | 1187 | public IntVecVecArgumentDeclarationList_1(Parser yyq):base(yyq, |
1188 | ((IntDeclaration)(yyq.StackAt(4).m_value)) | 1188 | ((IntDeclaration)(yyq.StackAt(4).m_value)) |
1189 | , | 1189 | , |
1190 | ((VecDeclaration)(yyq.StackAt(2).m_value)) | 1190 | ((VecDeclaration)(yyq.StackAt(2).m_value)) |
1191 | , | 1191 | , |
1192 | ((VecDeclaration)(yyq.StackAt(0).m_value)) | 1192 | ((VecDeclaration)(yyq.StackAt(0).m_value)) |
1193 | ){}} | 1193 | ){}} |
1194 | 1194 | ||
1195 | public class KeyIntIntArgumentDeclarationList_1 : KeyIntIntArgumentDeclarationList { | 1195 | public class KeyIntIntArgumentDeclarationList_1 : KeyIntIntArgumentDeclarationList { |
1196 | public KeyIntIntArgumentDeclarationList_1(Parser yyq):base(yyq, | 1196 | public KeyIntIntArgumentDeclarationList_1(Parser yyq):base(yyq, |
1197 | ((KeyDeclaration)(yyq.StackAt(4).m_value)) | 1197 | ((KeyDeclaration)(yyq.StackAt(4).m_value)) |
1198 | , | 1198 | , |
1199 | ((IntDeclaration)(yyq.StackAt(2).m_value)) | 1199 | ((IntDeclaration)(yyq.StackAt(2).m_value)) |
1200 | , | 1200 | , |
1201 | ((IntDeclaration)(yyq.StackAt(0).m_value)) | 1201 | ((IntDeclaration)(yyq.StackAt(0).m_value)) |
1202 | ){}} | 1202 | ){}} |
1203 | 1203 | ||
1204 | public class Declaration_1 : Declaration { | 1204 | public class Declaration_1 : Declaration { |
1205 | public Declaration_1(Parser yyq):base(yyq, | 1205 | public Declaration_1(Parser yyq):base(yyq, |
1206 | ((Typename)(yyq.StackAt(1).m_value)) | 1206 | ((Typename)(yyq.StackAt(1).m_value)) |
1207 | .yytext, | 1207 | .yytext, |
1208 | ((IDENT)(yyq.StackAt(0).m_value)) | 1208 | ((IDENT)(yyq.StackAt(0).m_value)) |
1209 | .yytext){}} | 1209 | .yytext){}} |
1210 | 1210 | ||
1211 | public class KeyDeclaration_1 : KeyDeclaration { | 1211 | public class KeyDeclaration_1 : KeyDeclaration { |
1212 | public KeyDeclaration_1(Parser yyq):base(yyq, | 1212 | public KeyDeclaration_1(Parser yyq):base(yyq, |
1213 | ((KEY_TYPE)(yyq.StackAt(1).m_value)) | 1213 | ((KEY_TYPE)(yyq.StackAt(1).m_value)) |
1214 | .yytext, | 1214 | .yytext, |
1215 | ((IDENT)(yyq.StackAt(0).m_value)) | 1215 | ((IDENT)(yyq.StackAt(0).m_value)) |
1216 | .yytext){}} | 1216 | .yytext){}} |
1217 | 1217 | ||
1218 | public class IntDeclaration_1 : IntDeclaration { | 1218 | public class IntDeclaration_1 : IntDeclaration { |
1219 | public IntDeclaration_1(Parser yyq):base(yyq, | 1219 | public IntDeclaration_1(Parser yyq):base(yyq, |
1220 | ((INTEGER_TYPE)(yyq.StackAt(1).m_value)) | 1220 | ((INTEGER_TYPE)(yyq.StackAt(1).m_value)) |
1221 | .yytext, | 1221 | .yytext, |
1222 | ((IDENT)(yyq.StackAt(0).m_value)) | 1222 | ((IDENT)(yyq.StackAt(0).m_value)) |
1223 | .yytext){}} | 1223 | .yytext){}} |
1224 | 1224 | ||
1225 | public class VecDeclaration_1 : VecDeclaration { | 1225 | public class VecDeclaration_1 : VecDeclaration { |
1226 | public VecDeclaration_1(Parser yyq):base(yyq, | 1226 | public VecDeclaration_1(Parser yyq):base(yyq, |
1227 | ((VECTOR_TYPE)(yyq.StackAt(1).m_value)) | 1227 | ((VECTOR_TYPE)(yyq.StackAt(1).m_value)) |
1228 | .yytext, | 1228 | .yytext, |
1229 | ((IDENT)(yyq.StackAt(0).m_value)) | 1229 | ((IDENT)(yyq.StackAt(0).m_value)) |
1230 | .yytext){}} | 1230 | .yytext){}} |
1231 | 1231 | ||
1232 | public class RotDeclaration_1 : RotDeclaration { | 1232 | public class RotDeclaration_1 : RotDeclaration { |
1233 | public RotDeclaration_1(Parser yyq):base(yyq, | 1233 | public RotDeclaration_1(Parser yyq):base(yyq, |
1234 | ((ROTATION_TYPE)(yyq.StackAt(1).m_value)) | 1234 | ((ROTATION_TYPE)(yyq.StackAt(1).m_value)) |
1235 | .yytext, | 1235 | .yytext, |
1236 | ((IDENT)(yyq.StackAt(0).m_value)) | 1236 | ((IDENT)(yyq.StackAt(0).m_value)) |
1237 | .yytext){}} | 1237 | .yytext){}} |
1238 | 1238 | ||
1239 | public class CompoundStatement_1 : CompoundStatement { | 1239 | public class CompoundStatement_1 : CompoundStatement { |
1240 | public CompoundStatement_1(Parser yyq):base(yyq){}} | 1240 | public CompoundStatement_1(Parser yyq):base(yyq){}} |
1241 | 1241 | ||
1242 | public class CompoundStatement_2 : CompoundStatement { | 1242 | public class CompoundStatement_2 : CompoundStatement { |
1243 | public CompoundStatement_2(Parser yyq):base(yyq, | 1243 | public CompoundStatement_2(Parser yyq):base(yyq, |
1244 | ((StatementList)(yyq.StackAt(1).m_value)) | 1244 | ((StatementList)(yyq.StackAt(1).m_value)) |
1245 | ){}} | 1245 | ){}} |
1246 | 1246 | ||
1247 | public class StatementList_1 : StatementList { | 1247 | public class StatementList_1 : StatementList { |
1248 | public StatementList_1(Parser yyq):base(yyq, | 1248 | public StatementList_1(Parser yyq):base(yyq, |
1249 | ((Statement)(yyq.StackAt(0).m_value)) | 1249 | ((Statement)(yyq.StackAt(0).m_value)) |
1250 | ){}} | 1250 | ){}} |
1251 | 1251 | ||
1252 | public class StatementList_2 : StatementList { | 1252 | public class StatementList_2 : StatementList { |
1253 | public StatementList_2(Parser yyq):base(yyq, | 1253 | public StatementList_2(Parser yyq):base(yyq, |
1254 | ((StatementList)(yyq.StackAt(1).m_value)) | 1254 | ((StatementList)(yyq.StackAt(1).m_value)) |
1255 | , | 1255 | , |
1256 | ((Statement)(yyq.StackAt(0).m_value)) | 1256 | ((Statement)(yyq.StackAt(0).m_value)) |
1257 | ){}} | 1257 | ){}} |
1258 | 1258 | ||
1259 | public class EmptyStatement_1 : EmptyStatement { | 1259 | public class EmptyStatement_1 : EmptyStatement { |
1260 | public EmptyStatement_1(Parser yyq):base(yyq){}} | 1260 | public EmptyStatement_1(Parser yyq):base(yyq){}} |
1261 | 1261 | ||
1262 | public class Statement_1 : Statement { | 1262 | public class Statement_1 : Statement { |
1263 | public Statement_1(Parser yyq):base(yyq, | 1263 | public Statement_1(Parser yyq):base(yyq, |
1264 | ((EmptyStatement)(yyq.StackAt(1).m_value)) | 1264 | ((EmptyStatement)(yyq.StackAt(1).m_value)) |
1265 | ){}} | 1265 | ){}} |
1266 | 1266 | ||
1267 | public class Statement_2 : Statement { | 1267 | public class Statement_2 : Statement { |
1268 | public Statement_2(Parser yyq):base(yyq, | 1268 | public Statement_2(Parser yyq):base(yyq, |
1269 | ((Declaration)(yyq.StackAt(1).m_value)) | 1269 | ((Declaration)(yyq.StackAt(1).m_value)) |
1270 | ){}} | 1270 | ){}} |
1271 | 1271 | ||
1272 | public class Statement_3 : Statement { | 1272 | public class Statement_3 : Statement { |
1273 | public Statement_3(Parser yyq):base(yyq, | 1273 | public Statement_3(Parser yyq):base(yyq, |
1274 | ((Assignment)(yyq.StackAt(1).m_value)) | 1274 | ((Assignment)(yyq.StackAt(1).m_value)) |
1275 | ){}} | 1275 | ){}} |
1276 | 1276 | ||
1277 | public class Statement_4 : Statement { | 1277 | public class Statement_4 : Statement { |
1278 | public Statement_4(Parser yyq):base(yyq, | 1278 | public Statement_4(Parser yyq):base(yyq, |
1279 | ((Expression)(yyq.StackAt(1).m_value)) | 1279 | ((Expression)(yyq.StackAt(1).m_value)) |
1280 | ){}} | 1280 | ){}} |
1281 | 1281 | ||
1282 | public class Statement_5 : Statement { | 1282 | public class Statement_5 : Statement { |
1283 | public Statement_5(Parser yyq):base(yyq, | 1283 | public Statement_5(Parser yyq):base(yyq, |
1284 | ((ReturnStatement)(yyq.StackAt(1).m_value)) | 1284 | ((ReturnStatement)(yyq.StackAt(1).m_value)) |
1285 | ){}} | 1285 | ){}} |
1286 | 1286 | ||
1287 | public class Statement_6 : Statement { | 1287 | public class Statement_6 : Statement { |
1288 | public Statement_6(Parser yyq):base(yyq, | 1288 | public Statement_6(Parser yyq):base(yyq, |
1289 | ((JumpLabel)(yyq.StackAt(1).m_value)) | 1289 | ((JumpLabel)(yyq.StackAt(1).m_value)) |
1290 | ){}} | 1290 | ){}} |
1291 | 1291 | ||
1292 | public class Statement_7 : Statement { | 1292 | public class Statement_7 : Statement { |
1293 | public Statement_7(Parser yyq):base(yyq, | 1293 | public Statement_7(Parser yyq):base(yyq, |
1294 | ((JumpStatement)(yyq.StackAt(1).m_value)) | 1294 | ((JumpStatement)(yyq.StackAt(1).m_value)) |
1295 | ){}} | 1295 | ){}} |
1296 | 1296 | ||
1297 | public class Statement_8 : Statement { | 1297 | public class Statement_8 : Statement { |
1298 | public Statement_8(Parser yyq):base(yyq, | 1298 | public Statement_8(Parser yyq):base(yyq, |
1299 | ((StateChange)(yyq.StackAt(1).m_value)) | 1299 | ((StateChange)(yyq.StackAt(1).m_value)) |
1300 | ){}} | 1300 | ){}} |
1301 | 1301 | ||
1302 | public class Statement_9 : Statement { | 1302 | public class Statement_9 : Statement { |
1303 | public Statement_9(Parser yyq):base(yyq, | 1303 | public Statement_9(Parser yyq):base(yyq, |
1304 | ((IfStatement)(yyq.StackAt(0).m_value)) | 1304 | ((IfStatement)(yyq.StackAt(0).m_value)) |
1305 | ){}} | 1305 | ){}} |
1306 | 1306 | ||
1307 | public class Statement_10 : Statement { | 1307 | public class Statement_10 : Statement { |
1308 | public Statement_10(Parser yyq):base(yyq, | 1308 | public Statement_10(Parser yyq):base(yyq, |
1309 | ((WhileStatement)(yyq.StackAt(0).m_value)) | 1309 | ((WhileStatement)(yyq.StackAt(0).m_value)) |
1310 | ){}} | 1310 | ){}} |
1311 | 1311 | ||
1312 | public class Statement_11 : Statement { | 1312 | public class Statement_11 : Statement { |
1313 | public Statement_11(Parser yyq):base(yyq, | 1313 | public Statement_11(Parser yyq):base(yyq, |
1314 | ((DoWhileStatement)(yyq.StackAt(0).m_value)) | 1314 | ((DoWhileStatement)(yyq.StackAt(0).m_value)) |
1315 | ){}} | 1315 | ){}} |
1316 | 1316 | ||
1317 | public class Statement_12 : Statement { | 1317 | public class Statement_12 : Statement { |
1318 | public Statement_12(Parser yyq):base(yyq, | 1318 | public Statement_12(Parser yyq):base(yyq, |
1319 | ((ForLoop)(yyq.StackAt(0).m_value)) | 1319 | ((ForLoop)(yyq.StackAt(0).m_value)) |
1320 | ){}} | 1320 | ){}} |
1321 | 1321 | ||
1322 | public class Statement_13 : Statement { | 1322 | public class Statement_13 : Statement { |
1323 | public Statement_13(Parser yyq):base(yyq, | 1323 | public Statement_13(Parser yyq):base(yyq, |
1324 | ((CompoundStatement)(yyq.StackAt(0).m_value)) | 1324 | ((CompoundStatement)(yyq.StackAt(0).m_value)) |
1325 | ){}} | 1325 | ){}} |
1326 | 1326 | ||
1327 | public class JumpLabel_1 : JumpLabel { | 1327 | public class JumpLabel_1 : JumpLabel { |
1328 | public JumpLabel_1(Parser yyq):base(yyq, | 1328 | public JumpLabel_1(Parser yyq):base(yyq, |
1329 | ((IDENT)(yyq.StackAt(0).m_value)) | 1329 | ((IDENT)(yyq.StackAt(0).m_value)) |
1330 | .yytext){}} | 1330 | .yytext){}} |
1331 | 1331 | ||
1332 | public class JumpStatement_1 : JumpStatement { | 1332 | public class JumpStatement_1 : JumpStatement { |
1333 | public JumpStatement_1(Parser yyq):base(yyq, | 1333 | public JumpStatement_1(Parser yyq):base(yyq, |
1334 | ((IDENT)(yyq.StackAt(0).m_value)) | 1334 | ((IDENT)(yyq.StackAt(0).m_value)) |
1335 | .yytext){}} | 1335 | .yytext){}} |
1336 | 1336 | ||
1337 | public class StateChange_1 : StateChange { | 1337 | public class StateChange_1 : StateChange { |
1338 | public StateChange_1(Parser yyq):base(yyq, | 1338 | public StateChange_1(Parser yyq):base(yyq, |
1339 | ((IDENT)(yyq.StackAt(0).m_value)) | 1339 | ((IDENT)(yyq.StackAt(0).m_value)) |
1340 | .yytext){}} | 1340 | .yytext){}} |
1341 | 1341 | ||
1342 | public class StateChange_2 : StateChange { | 1342 | public class StateChange_2 : StateChange { |
1343 | public StateChange_2(Parser yyq):base(yyq, | 1343 | public StateChange_2(Parser yyq):base(yyq, |
1344 | ((DEFAULT_STATE)(yyq.StackAt(0).m_value)) | 1344 | ((DEFAULT_STATE)(yyq.StackAt(0).m_value)) |
1345 | .yytext){}} | 1345 | .yytext){}} |
1346 | 1346 | ||
1347 | public class IfStatement_1 : IfStatement { | 1347 | public class IfStatement_1 : IfStatement { |
1348 | public IfStatement_1(Parser yyq):base(yyq, | 1348 | public IfStatement_1(Parser yyq):base(yyq, |
1349 | ((Expression)(yyq.StackAt(2).m_value)) | 1349 | ((Expression)(yyq.StackAt(2).m_value)) |
1350 | , | 1350 | , |
1351 | ((Statement)(yyq.StackAt(0).m_value)) | 1351 | ((Statement)(yyq.StackAt(0).m_value)) |
1352 | ){}} | 1352 | ){}} |
1353 | 1353 | ||
1354 | public class IfStatement_2 : IfStatement { | 1354 | public class IfStatement_2 : IfStatement { |
1355 | public IfStatement_2(Parser yyq):base(yyq, | 1355 | public IfStatement_2(Parser yyq):base(yyq, |
1356 | ((Expression)(yyq.StackAt(4).m_value)) | 1356 | ((Expression)(yyq.StackAt(4).m_value)) |
1357 | , | 1357 | , |
1358 | ((Statement)(yyq.StackAt(2).m_value)) | 1358 | ((Statement)(yyq.StackAt(2).m_value)) |
1359 | , | 1359 | , |
1360 | ((Statement)(yyq.StackAt(0).m_value)) | 1360 | ((Statement)(yyq.StackAt(0).m_value)) |
1361 | ){}} | 1361 | ){}} |
1362 | 1362 | ||
1363 | public class IfStatement_3 : IfStatement { | 1363 | public class IfStatement_3 : IfStatement { |
1364 | public IfStatement_3(Parser yyq):base(yyq, | 1364 | public IfStatement_3(Parser yyq):base(yyq, |
1365 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) | 1365 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) |
1366 | , | 1366 | , |
1367 | ((Statement)(yyq.StackAt(0).m_value)) | 1367 | ((Statement)(yyq.StackAt(0).m_value)) |
1368 | ){}} | 1368 | ){}} |
1369 | 1369 | ||
1370 | public class IfStatement_4 : IfStatement { | 1370 | public class IfStatement_4 : IfStatement { |
1371 | public IfStatement_4(Parser yyq):base(yyq, | 1371 | public IfStatement_4(Parser yyq):base(yyq, |
1372 | ((SimpleAssignment)(yyq.StackAt(4).m_value)) | 1372 | ((SimpleAssignment)(yyq.StackAt(4).m_value)) |
1373 | , | 1373 | , |
1374 | ((Statement)(yyq.StackAt(2).m_value)) | 1374 | ((Statement)(yyq.StackAt(2).m_value)) |
1375 | , | 1375 | , |
1376 | ((Statement)(yyq.StackAt(0).m_value)) | 1376 | ((Statement)(yyq.StackAt(0).m_value)) |
1377 | ){}} | 1377 | ){}} |
1378 | 1378 | ||
1379 | public class WhileStatement_1 : WhileStatement { | 1379 | public class WhileStatement_1 : WhileStatement { |
1380 | public WhileStatement_1(Parser yyq):base(yyq, | 1380 | public WhileStatement_1(Parser yyq):base(yyq, |
1381 | ((Expression)(yyq.StackAt(2).m_value)) | 1381 | ((Expression)(yyq.StackAt(2).m_value)) |
1382 | , | 1382 | , |
1383 | ((Statement)(yyq.StackAt(0).m_value)) | 1383 | ((Statement)(yyq.StackAt(0).m_value)) |
1384 | ){}} | 1384 | ){}} |
1385 | 1385 | ||
1386 | public class WhileStatement_2 : WhileStatement { | 1386 | public class WhileStatement_2 : WhileStatement { |
1387 | public WhileStatement_2(Parser yyq):base(yyq, | 1387 | public WhileStatement_2(Parser yyq):base(yyq, |
1388 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) | 1388 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) |
1389 | , | 1389 | , |
1390 | ((Statement)(yyq.StackAt(0).m_value)) | 1390 | ((Statement)(yyq.StackAt(0).m_value)) |
1391 | ){}} | 1391 | ){}} |
1392 | 1392 | ||
1393 | public class DoWhileStatement_1 : DoWhileStatement { | 1393 | public class DoWhileStatement_1 : DoWhileStatement { |
1394 | public DoWhileStatement_1(Parser yyq):base(yyq, | 1394 | public DoWhileStatement_1(Parser yyq):base(yyq, |
1395 | ((Expression)(yyq.StackAt(2).m_value)) | 1395 | ((Expression)(yyq.StackAt(2).m_value)) |
1396 | , | 1396 | , |
1397 | ((Statement)(yyq.StackAt(5).m_value)) | 1397 | ((Statement)(yyq.StackAt(5).m_value)) |
1398 | ){}} | 1398 | ){}} |
1399 | 1399 | ||
1400 | public class DoWhileStatement_2 : DoWhileStatement { | 1400 | public class DoWhileStatement_2 : DoWhileStatement { |
1401 | public DoWhileStatement_2(Parser yyq):base(yyq, | 1401 | public DoWhileStatement_2(Parser yyq):base(yyq, |
1402 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) | 1402 | ((SimpleAssignment)(yyq.StackAt(2).m_value)) |
1403 | , | 1403 | , |
1404 | ((Statement)(yyq.StackAt(5).m_value)) | 1404 | ((Statement)(yyq.StackAt(5).m_value)) |
1405 | ){}} | 1405 | ){}} |
1406 | 1406 | ||
1407 | public class ForLoop_1 : ForLoop { | 1407 | public class ForLoop_1 : ForLoop { |
1408 | public ForLoop_1(Parser yyq):base(yyq, | 1408 | public ForLoop_1(Parser yyq):base(yyq, |
1409 | ((ForLoopStatement)(yyq.StackAt(6).m_value)) | 1409 | ((ForLoopStatement)(yyq.StackAt(6).m_value)) |
1410 | , | 1410 | , |
1411 | ((Expression)(yyq.StackAt(4).m_value)) | 1411 | ((Expression)(yyq.StackAt(4).m_value)) |
1412 | , | 1412 | , |
1413 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) | 1413 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) |
1414 | , | 1414 | , |
1415 | ((Statement)(yyq.StackAt(0).m_value)) | 1415 | ((Statement)(yyq.StackAt(0).m_value)) |
1416 | ){}} | 1416 | ){}} |
1417 | 1417 | ||
1418 | public class ForLoop_2 : ForLoop { | 1418 | public class ForLoop_2 : ForLoop { |
1419 | public ForLoop_2(Parser yyq):base(yyq,null, | 1419 | public ForLoop_2(Parser yyq):base(yyq,null, |
1420 | ((Expression)(yyq.StackAt(4).m_value)) | 1420 | ((Expression)(yyq.StackAt(4).m_value)) |
1421 | , | 1421 | , |
1422 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) | 1422 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) |
1423 | , | 1423 | , |
1424 | ((Statement)(yyq.StackAt(0).m_value)) | 1424 | ((Statement)(yyq.StackAt(0).m_value)) |
1425 | ){}} | 1425 | ){}} |
1426 | 1426 | ||
1427 | public class ForLoopStatement_1 : ForLoopStatement { | 1427 | public class ForLoopStatement_1 : ForLoopStatement { |
1428 | public ForLoopStatement_1(Parser yyq):base(yyq, | 1428 | public ForLoopStatement_1(Parser yyq):base(yyq, |
1429 | ((Expression)(yyq.StackAt(0).m_value)) | 1429 | ((Expression)(yyq.StackAt(0).m_value)) |
1430 | ){}} | 1430 | ){}} |
1431 | 1431 | ||
1432 | public class ForLoopStatement_2 : ForLoopStatement { | 1432 | public class ForLoopStatement_2 : ForLoopStatement { |
1433 | public ForLoopStatement_2(Parser yyq):base(yyq, | 1433 | public ForLoopStatement_2(Parser yyq):base(yyq, |
1434 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1434 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1435 | ){}} | 1435 | ){}} |
1436 | 1436 | ||
1437 | public class ForLoopStatement_3 : ForLoopStatement { | 1437 | public class ForLoopStatement_3 : ForLoopStatement { |
1438 | public ForLoopStatement_3(Parser yyq):base(yyq, | 1438 | public ForLoopStatement_3(Parser yyq):base(yyq, |
1439 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) | 1439 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) |
1440 | , | 1440 | , |
1441 | ((Expression)(yyq.StackAt(0).m_value)) | 1441 | ((Expression)(yyq.StackAt(0).m_value)) |
1442 | ){}} | 1442 | ){}} |
1443 | 1443 | ||
1444 | public class ForLoopStatement_4 : ForLoopStatement { | 1444 | public class ForLoopStatement_4 : ForLoopStatement { |
1445 | public ForLoopStatement_4(Parser yyq):base(yyq, | 1445 | public ForLoopStatement_4(Parser yyq):base(yyq, |
1446 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) | 1446 | ((ForLoopStatement)(yyq.StackAt(2).m_value)) |
1447 | , | 1447 | , |
1448 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1448 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1449 | ){}} | 1449 | ){}} |
1450 | 1450 | ||
1451 | public class Assignment_1 : Assignment { | 1451 | public class Assignment_1 : Assignment { |
1452 | public Assignment_1(Parser yyq):base(yyq, | 1452 | public Assignment_1(Parser yyq):base(yyq, |
1453 | ((Declaration)(yyq.StackAt(2).m_value)) | 1453 | ((Declaration)(yyq.StackAt(2).m_value)) |
1454 | , | 1454 | , |
1455 | ((Expression)(yyq.StackAt(0).m_value)) | 1455 | ((Expression)(yyq.StackAt(0).m_value)) |
1456 | , | 1456 | , |
1457 | ((EQUALS)(yyq.StackAt(1).m_value)) | 1457 | ((EQUALS)(yyq.StackAt(1).m_value)) |
1458 | .yytext){}} | 1458 | .yytext){}} |
1459 | 1459 | ||
1460 | public class Assignment_2 : Assignment { | 1460 | public class Assignment_2 : Assignment { |
1461 | public Assignment_2(Parser yyq):base(yyq, | 1461 | public Assignment_2(Parser yyq):base(yyq, |
1462 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1462 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1463 | ){}} | 1463 | ){}} |
1464 | 1464 | ||
1465 | public class SimpleAssignment_1 : SimpleAssignment { | 1465 | public class SimpleAssignment_1 : SimpleAssignment { |
1466 | public SimpleAssignment_1(Parser yyq):base(yyq, | 1466 | public SimpleAssignment_1(Parser yyq):base(yyq, |
1467 | ((IDENT)(yyq.StackAt(2).m_value)) | 1467 | ((IDENT)(yyq.StackAt(2).m_value)) |
1468 | , | 1468 | , |
1469 | ((Expression)(yyq.StackAt(0).m_value)) | 1469 | ((Expression)(yyq.StackAt(0).m_value)) |
1470 | , | 1470 | , |
1471 | ((EQUALS)(yyq.StackAt(1).m_value)) | 1471 | ((EQUALS)(yyq.StackAt(1).m_value)) |
1472 | .yytext){}} | 1472 | .yytext){}} |
1473 | 1473 | ||
1474 | public class SimpleAssignment_2 : SimpleAssignment { | 1474 | public class SimpleAssignment_2 : SimpleAssignment { |
1475 | public SimpleAssignment_2(Parser yyq):base(yyq, | 1475 | public SimpleAssignment_2(Parser yyq):base(yyq, |
1476 | ((IDENT)(yyq.StackAt(2).m_value)) | 1476 | ((IDENT)(yyq.StackAt(2).m_value)) |
1477 | , | 1477 | , |
1478 | ((Expression)(yyq.StackAt(0).m_value)) | 1478 | ((Expression)(yyq.StackAt(0).m_value)) |
1479 | , | 1479 | , |
1480 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) | 1480 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) |
1481 | .yytext){}} | 1481 | .yytext){}} |
1482 | 1482 | ||
1483 | public class SimpleAssignment_3 : SimpleAssignment { | 1483 | public class SimpleAssignment_3 : SimpleAssignment { |
1484 | public SimpleAssignment_3(Parser yyq):base(yyq, | 1484 | public SimpleAssignment_3(Parser yyq):base(yyq, |
1485 | ((IDENT)(yyq.StackAt(2).m_value)) | 1485 | ((IDENT)(yyq.StackAt(2).m_value)) |
1486 | , | 1486 | , |
1487 | ((Expression)(yyq.StackAt(0).m_value)) | 1487 | ((Expression)(yyq.StackAt(0).m_value)) |
1488 | , | 1488 | , |
1489 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) | 1489 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) |
1490 | .yytext){}} | 1490 | .yytext){}} |
1491 | 1491 | ||
1492 | public class SimpleAssignment_4 : SimpleAssignment { | 1492 | public class SimpleAssignment_4 : SimpleAssignment { |
1493 | public SimpleAssignment_4(Parser yyq):base(yyq, | 1493 | public SimpleAssignment_4(Parser yyq):base(yyq, |
1494 | ((IDENT)(yyq.StackAt(2).m_value)) | 1494 | ((IDENT)(yyq.StackAt(2).m_value)) |
1495 | , | 1495 | , |
1496 | ((Expression)(yyq.StackAt(0).m_value)) | 1496 | ((Expression)(yyq.StackAt(0).m_value)) |
1497 | , | 1497 | , |
1498 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) | 1498 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) |
1499 | .yytext){}} | 1499 | .yytext){}} |
1500 | 1500 | ||
1501 | public class SimpleAssignment_5 : SimpleAssignment { | 1501 | public class SimpleAssignment_5 : SimpleAssignment { |
1502 | public SimpleAssignment_5(Parser yyq):base(yyq, | 1502 | public SimpleAssignment_5(Parser yyq):base(yyq, |
1503 | ((IDENT)(yyq.StackAt(2).m_value)) | 1503 | ((IDENT)(yyq.StackAt(2).m_value)) |
1504 | , | 1504 | , |
1505 | ((Expression)(yyq.StackAt(0).m_value)) | 1505 | ((Expression)(yyq.StackAt(0).m_value)) |
1506 | , | 1506 | , |
1507 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) | 1507 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) |
1508 | .yytext){}} | 1508 | .yytext){}} |
1509 | 1509 | ||
1510 | public class SimpleAssignment_6 : SimpleAssignment { | 1510 | public class SimpleAssignment_6 : SimpleAssignment { |
1511 | public SimpleAssignment_6(Parser yyq):base(yyq, | 1511 | public SimpleAssignment_6(Parser yyq):base(yyq, |
1512 | ((IDENT)(yyq.StackAt(2).m_value)) | 1512 | ((IDENT)(yyq.StackAt(2).m_value)) |
1513 | , | 1513 | , |
1514 | ((Expression)(yyq.StackAt(0).m_value)) | 1514 | ((Expression)(yyq.StackAt(0).m_value)) |
1515 | , | 1515 | , |
1516 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) | 1516 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) |
1517 | .yytext){}} | 1517 | .yytext){}} |
1518 | 1518 | ||
1519 | public class SimpleAssignment_7 : SimpleAssignment { | 1519 | public class SimpleAssignment_7 : SimpleAssignment { |
1520 | public SimpleAssignment_7(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1520 | public SimpleAssignment_7(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1521 | )yyq), | 1521 | )yyq), |
1522 | ((IDENT)(yyq.StackAt(4).m_value)) | 1522 | ((IDENT)(yyq.StackAt(4).m_value)) |
1523 | .yytext, | 1523 | .yytext, |
1524 | ((IDENT)(yyq.StackAt(2).m_value)) | 1524 | ((IDENT)(yyq.StackAt(2).m_value)) |
1525 | .yytext), | 1525 | .yytext), |
1526 | ((Expression)(yyq.StackAt(0).m_value)) | 1526 | ((Expression)(yyq.StackAt(0).m_value)) |
1527 | , | 1527 | , |
1528 | ((EQUALS)(yyq.StackAt(1).m_value)) | 1528 | ((EQUALS)(yyq.StackAt(1).m_value)) |
1529 | .yytext){}} | 1529 | .yytext){}} |
1530 | 1530 | ||
1531 | public class SimpleAssignment_8 : SimpleAssignment { | 1531 | public class SimpleAssignment_8 : SimpleAssignment { |
1532 | public SimpleAssignment_8(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1532 | public SimpleAssignment_8(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1533 | )yyq), | 1533 | )yyq), |
1534 | ((IDENT)(yyq.StackAt(4).m_value)) | 1534 | ((IDENT)(yyq.StackAt(4).m_value)) |
1535 | .yytext, | 1535 | .yytext, |
1536 | ((IDENT)(yyq.StackAt(2).m_value)) | 1536 | ((IDENT)(yyq.StackAt(2).m_value)) |
1537 | .yytext), | 1537 | .yytext), |
1538 | ((Expression)(yyq.StackAt(0).m_value)) | 1538 | ((Expression)(yyq.StackAt(0).m_value)) |
1539 | , | 1539 | , |
1540 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) | 1540 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) |
1541 | .yytext){}} | 1541 | .yytext){}} |
1542 | 1542 | ||
1543 | public class SimpleAssignment_9 : SimpleAssignment { | 1543 | public class SimpleAssignment_9 : SimpleAssignment { |
1544 | public SimpleAssignment_9(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1544 | public SimpleAssignment_9(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1545 | )yyq), | 1545 | )yyq), |
1546 | ((IDENT)(yyq.StackAt(4).m_value)) | 1546 | ((IDENT)(yyq.StackAt(4).m_value)) |
1547 | .yytext, | 1547 | .yytext, |
1548 | ((IDENT)(yyq.StackAt(2).m_value)) | 1548 | ((IDENT)(yyq.StackAt(2).m_value)) |
1549 | .yytext), | 1549 | .yytext), |
1550 | ((Expression)(yyq.StackAt(0).m_value)) | 1550 | ((Expression)(yyq.StackAt(0).m_value)) |
1551 | , | 1551 | , |
1552 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) | 1552 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) |
1553 | .yytext){}} | 1553 | .yytext){}} |
1554 | 1554 | ||
1555 | public class SimpleAssignment_10 : SimpleAssignment { | 1555 | public class SimpleAssignment_10 : SimpleAssignment { |
1556 | public SimpleAssignment_10(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1556 | public SimpleAssignment_10(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1557 | )yyq), | 1557 | )yyq), |
1558 | ((IDENT)(yyq.StackAt(4).m_value)) | 1558 | ((IDENT)(yyq.StackAt(4).m_value)) |
1559 | .yytext, | 1559 | .yytext, |
1560 | ((IDENT)(yyq.StackAt(2).m_value)) | 1560 | ((IDENT)(yyq.StackAt(2).m_value)) |
1561 | .yytext), | 1561 | .yytext), |
1562 | ((Expression)(yyq.StackAt(0).m_value)) | 1562 | ((Expression)(yyq.StackAt(0).m_value)) |
1563 | , | 1563 | , |
1564 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) | 1564 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) |
1565 | .yytext){}} | 1565 | .yytext){}} |
1566 | 1566 | ||
1567 | public class SimpleAssignment_11 : SimpleAssignment { | 1567 | public class SimpleAssignment_11 : SimpleAssignment { |
1568 | public SimpleAssignment_11(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1568 | public SimpleAssignment_11(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1569 | )yyq), | 1569 | )yyq), |
1570 | ((IDENT)(yyq.StackAt(4).m_value)) | 1570 | ((IDENT)(yyq.StackAt(4).m_value)) |
1571 | .yytext, | 1571 | .yytext, |
1572 | ((IDENT)(yyq.StackAt(2).m_value)) | 1572 | ((IDENT)(yyq.StackAt(2).m_value)) |
1573 | .yytext), | 1573 | .yytext), |
1574 | ((Expression)(yyq.StackAt(0).m_value)) | 1574 | ((Expression)(yyq.StackAt(0).m_value)) |
1575 | , | 1575 | , |
1576 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) | 1576 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) |
1577 | .yytext){}} | 1577 | .yytext){}} |
1578 | 1578 | ||
1579 | public class SimpleAssignment_12 : SimpleAssignment { | 1579 | public class SimpleAssignment_12 : SimpleAssignment { |
1580 | public SimpleAssignment_12(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1580 | public SimpleAssignment_12(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1581 | )yyq), | 1581 | )yyq), |
1582 | ((IDENT)(yyq.StackAt(4).m_value)) | 1582 | ((IDENT)(yyq.StackAt(4).m_value)) |
1583 | .yytext, | 1583 | .yytext, |
1584 | ((IDENT)(yyq.StackAt(2).m_value)) | 1584 | ((IDENT)(yyq.StackAt(2).m_value)) |
1585 | .yytext), | 1585 | .yytext), |
1586 | ((Expression)(yyq.StackAt(0).m_value)) | 1586 | ((Expression)(yyq.StackAt(0).m_value)) |
1587 | , | 1587 | , |
1588 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) | 1588 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) |
1589 | .yytext){}} | 1589 | .yytext){}} |
1590 | 1590 | ||
1591 | public class SimpleAssignment_13 : SimpleAssignment { | 1591 | public class SimpleAssignment_13 : SimpleAssignment { |
1592 | public SimpleAssignment_13(Parser yyq):base(yyq, | 1592 | public SimpleAssignment_13(Parser yyq):base(yyq, |
1593 | ((IDENT)(yyq.StackAt(2).m_value)) | 1593 | ((IDENT)(yyq.StackAt(2).m_value)) |
1594 | , | 1594 | , |
1595 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1595 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1596 | , | 1596 | , |
1597 | ((EQUALS)(yyq.StackAt(1).m_value)) | 1597 | ((EQUALS)(yyq.StackAt(1).m_value)) |
1598 | .yytext){}} | 1598 | .yytext){}} |
1599 | 1599 | ||
1600 | public class SimpleAssignment_14 : SimpleAssignment { | 1600 | public class SimpleAssignment_14 : SimpleAssignment { |
1601 | public SimpleAssignment_14(Parser yyq):base(yyq, | 1601 | public SimpleAssignment_14(Parser yyq):base(yyq, |
1602 | ((IDENT)(yyq.StackAt(2).m_value)) | 1602 | ((IDENT)(yyq.StackAt(2).m_value)) |
1603 | , | 1603 | , |
1604 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1604 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1605 | , | 1605 | , |
1606 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) | 1606 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) |
1607 | .yytext){}} | 1607 | .yytext){}} |
1608 | 1608 | ||
1609 | public class SimpleAssignment_15 : SimpleAssignment { | 1609 | public class SimpleAssignment_15 : SimpleAssignment { |
1610 | public SimpleAssignment_15(Parser yyq):base(yyq, | 1610 | public SimpleAssignment_15(Parser yyq):base(yyq, |
1611 | ((IDENT)(yyq.StackAt(2).m_value)) | 1611 | ((IDENT)(yyq.StackAt(2).m_value)) |
1612 | , | 1612 | , |
1613 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1613 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1614 | , | 1614 | , |
1615 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) | 1615 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) |
1616 | .yytext){}} | 1616 | .yytext){}} |
1617 | 1617 | ||
1618 | public class SimpleAssignment_16 : SimpleAssignment { | 1618 | public class SimpleAssignment_16 : SimpleAssignment { |
1619 | public SimpleAssignment_16(Parser yyq):base(yyq, | 1619 | public SimpleAssignment_16(Parser yyq):base(yyq, |
1620 | ((IDENT)(yyq.StackAt(2).m_value)) | 1620 | ((IDENT)(yyq.StackAt(2).m_value)) |
1621 | , | 1621 | , |
1622 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1622 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1623 | , | 1623 | , |
1624 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) | 1624 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) |
1625 | .yytext){}} | 1625 | .yytext){}} |
1626 | 1626 | ||
1627 | public class SimpleAssignment_17 : SimpleAssignment { | 1627 | public class SimpleAssignment_17 : SimpleAssignment { |
1628 | public SimpleAssignment_17(Parser yyq):base(yyq, | 1628 | public SimpleAssignment_17(Parser yyq):base(yyq, |
1629 | ((IDENT)(yyq.StackAt(2).m_value)) | 1629 | ((IDENT)(yyq.StackAt(2).m_value)) |
1630 | , | 1630 | , |
1631 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1631 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1632 | , | 1632 | , |
1633 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) | 1633 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) |
1634 | .yytext){}} | 1634 | .yytext){}} |
1635 | 1635 | ||
1636 | public class SimpleAssignment_18 : SimpleAssignment { | 1636 | public class SimpleAssignment_18 : SimpleAssignment { |
1637 | public SimpleAssignment_18(Parser yyq):base(yyq, | 1637 | public SimpleAssignment_18(Parser yyq):base(yyq, |
1638 | ((IDENT)(yyq.StackAt(2).m_value)) | 1638 | ((IDENT)(yyq.StackAt(2).m_value)) |
1639 | , | 1639 | , |
1640 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1640 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1641 | , | 1641 | , |
1642 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) | 1642 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) |
1643 | .yytext){}} | 1643 | .yytext){}} |
1644 | 1644 | ||
1645 | public class SimpleAssignment_19 : SimpleAssignment { | 1645 | public class SimpleAssignment_19 : SimpleAssignment { |
1646 | public SimpleAssignment_19(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1646 | public SimpleAssignment_19(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1647 | )yyq), | 1647 | )yyq), |
1648 | ((IDENT)(yyq.StackAt(4).m_value)) | 1648 | ((IDENT)(yyq.StackAt(4).m_value)) |
1649 | .yytext, | 1649 | .yytext, |
1650 | ((IDENT)(yyq.StackAt(2).m_value)) | 1650 | ((IDENT)(yyq.StackAt(2).m_value)) |
1651 | .yytext), | 1651 | .yytext), |
1652 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1652 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1653 | , | 1653 | , |
1654 | ((EQUALS)(yyq.StackAt(1).m_value)) | 1654 | ((EQUALS)(yyq.StackAt(1).m_value)) |
1655 | .yytext){}} | 1655 | .yytext){}} |
1656 | 1656 | ||
1657 | public class SimpleAssignment_20 : SimpleAssignment { | 1657 | public class SimpleAssignment_20 : SimpleAssignment { |
1658 | public SimpleAssignment_20(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1658 | public SimpleAssignment_20(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1659 | )yyq), | 1659 | )yyq), |
1660 | ((IDENT)(yyq.StackAt(4).m_value)) | 1660 | ((IDENT)(yyq.StackAt(4).m_value)) |
1661 | .yytext, | 1661 | .yytext, |
1662 | ((IDENT)(yyq.StackAt(2).m_value)) | 1662 | ((IDENT)(yyq.StackAt(2).m_value)) |
1663 | .yytext), | 1663 | .yytext), |
1664 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1664 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1665 | , | 1665 | , |
1666 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) | 1666 | ((PLUS_EQUALS)(yyq.StackAt(1).m_value)) |
1667 | .yytext){}} | 1667 | .yytext){}} |
1668 | 1668 | ||
1669 | public class SimpleAssignment_21 : SimpleAssignment { | 1669 | public class SimpleAssignment_21 : SimpleAssignment { |
1670 | public SimpleAssignment_21(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1670 | public SimpleAssignment_21(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1671 | )yyq), | 1671 | )yyq), |
1672 | ((IDENT)(yyq.StackAt(4).m_value)) | 1672 | ((IDENT)(yyq.StackAt(4).m_value)) |
1673 | .yytext, | 1673 | .yytext, |
1674 | ((IDENT)(yyq.StackAt(2).m_value)) | 1674 | ((IDENT)(yyq.StackAt(2).m_value)) |
1675 | .yytext), | 1675 | .yytext), |
1676 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1676 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1677 | , | 1677 | , |
1678 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) | 1678 | ((MINUS_EQUALS)(yyq.StackAt(1).m_value)) |
1679 | .yytext){}} | 1679 | .yytext){}} |
1680 | 1680 | ||
1681 | public class SimpleAssignment_22 : SimpleAssignment { | 1681 | public class SimpleAssignment_22 : SimpleAssignment { |
1682 | public SimpleAssignment_22(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1682 | public SimpleAssignment_22(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1683 | )yyq), | 1683 | )yyq), |
1684 | ((IDENT)(yyq.StackAt(4).m_value)) | 1684 | ((IDENT)(yyq.StackAt(4).m_value)) |
1685 | .yytext, | 1685 | .yytext, |
1686 | ((IDENT)(yyq.StackAt(2).m_value)) | 1686 | ((IDENT)(yyq.StackAt(2).m_value)) |
1687 | .yytext), | 1687 | .yytext), |
1688 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1688 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1689 | , | 1689 | , |
1690 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) | 1690 | ((STAR_EQUALS)(yyq.StackAt(1).m_value)) |
1691 | .yytext){}} | 1691 | .yytext){}} |
1692 | 1692 | ||
1693 | public class SimpleAssignment_23 : SimpleAssignment { | 1693 | public class SimpleAssignment_23 : SimpleAssignment { |
1694 | public SimpleAssignment_23(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1694 | public SimpleAssignment_23(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1695 | )yyq), | 1695 | )yyq), |
1696 | ((IDENT)(yyq.StackAt(4).m_value)) | 1696 | ((IDENT)(yyq.StackAt(4).m_value)) |
1697 | .yytext, | 1697 | .yytext, |
1698 | ((IDENT)(yyq.StackAt(2).m_value)) | 1698 | ((IDENT)(yyq.StackAt(2).m_value)) |
1699 | .yytext), | 1699 | .yytext), |
1700 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1700 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1701 | , | 1701 | , |
1702 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) | 1702 | ((SLASH_EQUALS)(yyq.StackAt(1).m_value)) |
1703 | .yytext){}} | 1703 | .yytext){}} |
1704 | 1704 | ||
1705 | public class SimpleAssignment_24 : SimpleAssignment { | 1705 | public class SimpleAssignment_24 : SimpleAssignment { |
1706 | public SimpleAssignment_24(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1706 | public SimpleAssignment_24(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1707 | )yyq), | 1707 | )yyq), |
1708 | ((IDENT)(yyq.StackAt(4).m_value)) | 1708 | ((IDENT)(yyq.StackAt(4).m_value)) |
1709 | .yytext, | 1709 | .yytext, |
1710 | ((IDENT)(yyq.StackAt(2).m_value)) | 1710 | ((IDENT)(yyq.StackAt(2).m_value)) |
1711 | .yytext), | 1711 | .yytext), |
1712 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) | 1712 | ((SimpleAssignment)(yyq.StackAt(0).m_value)) |
1713 | , | 1713 | , |
1714 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) | 1714 | ((PERCENT_EQUALS)(yyq.StackAt(1).m_value)) |
1715 | .yytext){}} | 1715 | .yytext){}} |
1716 | 1716 | ||
1717 | public class ReturnStatement_1 : ReturnStatement { | 1717 | public class ReturnStatement_1 : ReturnStatement { |
1718 | public ReturnStatement_1(Parser yyq):base(yyq, | 1718 | public ReturnStatement_1(Parser yyq):base(yyq, |
1719 | ((Expression)(yyq.StackAt(0).m_value)) | 1719 | ((Expression)(yyq.StackAt(0).m_value)) |
1720 | ){}} | 1720 | ){}} |
1721 | 1721 | ||
1722 | public class ReturnStatement_2 : ReturnStatement { | 1722 | public class ReturnStatement_2 : ReturnStatement { |
1723 | public ReturnStatement_2(Parser yyq):base(yyq){}} | 1723 | public ReturnStatement_2(Parser yyq):base(yyq){}} |
1724 | 1724 | ||
1725 | public class Constant_1 : Constant { | 1725 | public class Constant_1 : Constant { |
1726 | public Constant_1(Parser yyq):base(yyq,"integer", | 1726 | public Constant_1(Parser yyq):base(yyq,"integer", |
1727 | ((INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) | 1727 | ((INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) |
1728 | .yytext){}} | 1728 | .yytext){}} |
1729 | 1729 | ||
1730 | public class Constant_2 : Constant { | 1730 | public class Constant_2 : Constant { |
1731 | public Constant_2(Parser yyq):base(yyq,"integer", | 1731 | public Constant_2(Parser yyq):base(yyq,"integer", |
1732 | ((HEX_INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) | 1732 | ((HEX_INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) |
1733 | .yytext){}} | 1733 | .yytext){}} |
1734 | 1734 | ||
1735 | public class Constant_3 : Constant { | 1735 | public class Constant_3 : Constant { |
1736 | public Constant_3(Parser yyq):base(yyq,"float", | 1736 | public Constant_3(Parser yyq):base(yyq,"float", |
1737 | ((FLOAT_CONSTANT)(yyq.StackAt(0).m_value)) | 1737 | ((FLOAT_CONSTANT)(yyq.StackAt(0).m_value)) |
1738 | .yytext){}} | 1738 | .yytext){}} |
1739 | 1739 | ||
1740 | public class Constant_4 : Constant { | 1740 | public class Constant_4 : Constant { |
1741 | public Constant_4(Parser yyq):base(yyq,"string", | 1741 | public Constant_4(Parser yyq):base(yyq,"string", |
1742 | ((STRING_CONSTANT)(yyq.StackAt(0).m_value)) | 1742 | ((STRING_CONSTANT)(yyq.StackAt(0).m_value)) |
1743 | .yytext){}} | 1743 | .yytext){}} |
1744 | 1744 | ||
1745 | public class ListConstant_1 : ListConstant { | 1745 | public class ListConstant_1 : ListConstant { |
1746 | public ListConstant_1(Parser yyq):base(yyq, | 1746 | public ListConstant_1(Parser yyq):base(yyq, |
1747 | ((ArgumentList)(yyq.StackAt(1).m_value)) | 1747 | ((ArgumentList)(yyq.StackAt(1).m_value)) |
1748 | ){}} | 1748 | ){}} |
1749 | 1749 | ||
1750 | public class VectorConstant_1 : VectorConstant { | 1750 | public class VectorConstant_1 : VectorConstant { |
1751 | public VectorConstant_1(Parser yyq):base(yyq, | 1751 | public VectorConstant_1(Parser yyq):base(yyq, |
1752 | ((Expression)(yyq.StackAt(5).m_value)) | 1752 | ((Expression)(yyq.StackAt(5).m_value)) |
1753 | , | 1753 | , |
1754 | ((Expression)(yyq.StackAt(3).m_value)) | 1754 | ((Expression)(yyq.StackAt(3).m_value)) |
1755 | , | 1755 | , |
1756 | ((Expression)(yyq.StackAt(1).m_value)) | 1756 | ((Expression)(yyq.StackAt(1).m_value)) |
1757 | ){}} | 1757 | ){}} |
1758 | 1758 | ||
1759 | public class RotationConstant_1 : RotationConstant { | 1759 | public class RotationConstant_1 : RotationConstant { |
1760 | public RotationConstant_1(Parser yyq):base(yyq, | 1760 | public RotationConstant_1(Parser yyq):base(yyq, |
1761 | ((Expression)(yyq.StackAt(7).m_value)) | 1761 | ((Expression)(yyq.StackAt(7).m_value)) |
1762 | , | 1762 | , |
1763 | ((Expression)(yyq.StackAt(5).m_value)) | 1763 | ((Expression)(yyq.StackAt(5).m_value)) |
1764 | , | 1764 | , |
1765 | ((Expression)(yyq.StackAt(3).m_value)) | 1765 | ((Expression)(yyq.StackAt(3).m_value)) |
1766 | , | 1766 | , |
1767 | ((Expression)(yyq.StackAt(1).m_value)) | 1767 | ((Expression)(yyq.StackAt(1).m_value)) |
1768 | ){}} | 1768 | ){}} |
1769 | 1769 | ||
1770 | public class ConstantExpression_1 : ConstantExpression { | 1770 | public class ConstantExpression_1 : ConstantExpression { |
1771 | public ConstantExpression_1(Parser yyq):base(yyq, | 1771 | public ConstantExpression_1(Parser yyq):base(yyq, |
1772 | ((Constant)(yyq.StackAt(0).m_value)) | 1772 | ((Constant)(yyq.StackAt(0).m_value)) |
1773 | ){}} | 1773 | ){}} |
1774 | 1774 | ||
1775 | public class IdentExpression_1 : IdentExpression { | 1775 | public class IdentExpression_1 : IdentExpression { |
1776 | public IdentExpression_1(Parser yyq):base(yyq, | 1776 | public IdentExpression_1(Parser yyq):base(yyq, |
1777 | ((IDENT)(yyq.StackAt(0).m_value)) | 1777 | ((IDENT)(yyq.StackAt(0).m_value)) |
1778 | .yytext){}} | 1778 | .yytext){}} |
1779 | 1779 | ||
1780 | public class IdentDotExpression_1 : IdentDotExpression { | 1780 | public class IdentDotExpression_1 : IdentDotExpression { |
1781 | public IdentDotExpression_1(Parser yyq):base(yyq, | 1781 | public IdentDotExpression_1(Parser yyq):base(yyq, |
1782 | ((IDENT)(yyq.StackAt(2).m_value)) | 1782 | ((IDENT)(yyq.StackAt(2).m_value)) |
1783 | .yytext, | 1783 | .yytext, |
1784 | ((IDENT)(yyq.StackAt(0).m_value)) | 1784 | ((IDENT)(yyq.StackAt(0).m_value)) |
1785 | .yytext){}} | 1785 | .yytext){}} |
1786 | 1786 | ||
1787 | public class IncrementDecrementExpression_1 : IncrementDecrementExpression { | 1787 | public class IncrementDecrementExpression_1 : IncrementDecrementExpression { |
1788 | public IncrementDecrementExpression_1(Parser yyq):base(yyq, | 1788 | public IncrementDecrementExpression_1(Parser yyq):base(yyq, |
1789 | ((IDENT)(yyq.StackAt(1).m_value)) | 1789 | ((IDENT)(yyq.StackAt(1).m_value)) |
1790 | .yytext, | 1790 | .yytext, |
1791 | ((INCREMENT)(yyq.StackAt(0).m_value)) | 1791 | ((INCREMENT)(yyq.StackAt(0).m_value)) |
1792 | .yytext, true){}} | 1792 | .yytext, true){}} |
1793 | 1793 | ||
1794 | public class IncrementDecrementExpression_2 : IncrementDecrementExpression { | 1794 | public class IncrementDecrementExpression_2 : IncrementDecrementExpression { |
1795 | public IncrementDecrementExpression_2(Parser yyq):base(yyq, | 1795 | public IncrementDecrementExpression_2(Parser yyq):base(yyq, |
1796 | ((IDENT)(yyq.StackAt(1).m_value)) | 1796 | ((IDENT)(yyq.StackAt(1).m_value)) |
1797 | .yytext, | 1797 | .yytext, |
1798 | ((DECREMENT)(yyq.StackAt(0).m_value)) | 1798 | ((DECREMENT)(yyq.StackAt(0).m_value)) |
1799 | .yytext, true){}} | 1799 | .yytext, true){}} |
1800 | 1800 | ||
1801 | public class IncrementDecrementExpression_3 : IncrementDecrementExpression { | 1801 | public class IncrementDecrementExpression_3 : IncrementDecrementExpression { |
1802 | public IncrementDecrementExpression_3(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1802 | public IncrementDecrementExpression_3(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1803 | )yyq), | 1803 | )yyq), |
1804 | ((IDENT)(yyq.StackAt(3).m_value)) | 1804 | ((IDENT)(yyq.StackAt(3).m_value)) |
1805 | .yytext, | 1805 | .yytext, |
1806 | ((IDENT)(yyq.StackAt(1).m_value)) | 1806 | ((IDENT)(yyq.StackAt(1).m_value)) |
1807 | .yytext), | 1807 | .yytext), |
1808 | ((INCREMENT)(yyq.StackAt(0).m_value)) | 1808 | ((INCREMENT)(yyq.StackAt(0).m_value)) |
1809 | .yytext, true){}} | 1809 | .yytext, true){}} |
1810 | 1810 | ||
1811 | public class IncrementDecrementExpression_4 : IncrementDecrementExpression { | 1811 | public class IncrementDecrementExpression_4 : IncrementDecrementExpression { |
1812 | public IncrementDecrementExpression_4(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1812 | public IncrementDecrementExpression_4(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1813 | )yyq), | 1813 | )yyq), |
1814 | ((IDENT)(yyq.StackAt(3).m_value)) | 1814 | ((IDENT)(yyq.StackAt(3).m_value)) |
1815 | .yytext, | 1815 | .yytext, |
1816 | ((IDENT)(yyq.StackAt(1).m_value)) | 1816 | ((IDENT)(yyq.StackAt(1).m_value)) |
1817 | .yytext), | 1817 | .yytext), |
1818 | ((DECREMENT)(yyq.StackAt(0).m_value)) | 1818 | ((DECREMENT)(yyq.StackAt(0).m_value)) |
1819 | .yytext, true){}} | 1819 | .yytext, true){}} |
1820 | 1820 | ||
1821 | public class IncrementDecrementExpression_5 : IncrementDecrementExpression { | 1821 | public class IncrementDecrementExpression_5 : IncrementDecrementExpression { |
1822 | public IncrementDecrementExpression_5(Parser yyq):base(yyq, | 1822 | public IncrementDecrementExpression_5(Parser yyq):base(yyq, |
1823 | ((IDENT)(yyq.StackAt(0).m_value)) | 1823 | ((IDENT)(yyq.StackAt(0).m_value)) |
1824 | .yytext, | 1824 | .yytext, |
1825 | ((INCREMENT)(yyq.StackAt(1).m_value)) | 1825 | ((INCREMENT)(yyq.StackAt(1).m_value)) |
1826 | .yytext, false){}} | 1826 | .yytext, false){}} |
1827 | 1827 | ||
1828 | public class IncrementDecrementExpression_6 : IncrementDecrementExpression { | 1828 | public class IncrementDecrementExpression_6 : IncrementDecrementExpression { |
1829 | public IncrementDecrementExpression_6(Parser yyq):base(yyq, | 1829 | public IncrementDecrementExpression_6(Parser yyq):base(yyq, |
1830 | ((IDENT)(yyq.StackAt(0).m_value)) | 1830 | ((IDENT)(yyq.StackAt(0).m_value)) |
1831 | .yytext, | 1831 | .yytext, |
1832 | ((DECREMENT)(yyq.StackAt(1).m_value)) | 1832 | ((DECREMENT)(yyq.StackAt(1).m_value)) |
1833 | .yytext, false){}} | 1833 | .yytext, false){}} |
1834 | 1834 | ||
1835 | public class IncrementDecrementExpression_7 : IncrementDecrementExpression { | 1835 | public class IncrementDecrementExpression_7 : IncrementDecrementExpression { |
1836 | public IncrementDecrementExpression_7(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1836 | public IncrementDecrementExpression_7(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1837 | )yyq), | 1837 | )yyq), |
1838 | ((IDENT)(yyq.StackAt(2).m_value)) | 1838 | ((IDENT)(yyq.StackAt(2).m_value)) |
1839 | .yytext, | 1839 | .yytext, |
1840 | ((IDENT)(yyq.StackAt(0).m_value)) | 1840 | ((IDENT)(yyq.StackAt(0).m_value)) |
1841 | .yytext), | 1841 | .yytext), |
1842 | ((INCREMENT)(yyq.StackAt(3).m_value)) | 1842 | ((INCREMENT)(yyq.StackAt(3).m_value)) |
1843 | .yytext, false){}} | 1843 | .yytext, false){}} |
1844 | 1844 | ||
1845 | public class IncrementDecrementExpression_8 : IncrementDecrementExpression { | 1845 | public class IncrementDecrementExpression_8 : IncrementDecrementExpression { |
1846 | public IncrementDecrementExpression_8(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax | 1846 | public IncrementDecrementExpression_8(Parser yyq):base(yyq,new IdentDotExpression(((LSLSyntax |
1847 | )yyq), | 1847 | )yyq), |
1848 | ((IDENT)(yyq.StackAt(2).m_value)) | 1848 | ((IDENT)(yyq.StackAt(2).m_value)) |
1849 | .yytext, | 1849 | .yytext, |
1850 | ((IDENT)(yyq.StackAt(0).m_value)) | 1850 | ((IDENT)(yyq.StackAt(0).m_value)) |
1851 | .yytext), | 1851 | .yytext), |
1852 | ((DECREMENT)(yyq.StackAt(3).m_value)) | 1852 | ((DECREMENT)(yyq.StackAt(3).m_value)) |
1853 | .yytext, false){}} | 1853 | .yytext, false){}} |
1854 | 1854 | ||
1855 | public class FunctionCallExpression_1 : FunctionCallExpression { | 1855 | public class FunctionCallExpression_1 : FunctionCallExpression { |
1856 | public FunctionCallExpression_1(Parser yyq):base(yyq, | 1856 | public FunctionCallExpression_1(Parser yyq):base(yyq, |
1857 | ((FunctionCall)(yyq.StackAt(0).m_value)) | 1857 | ((FunctionCall)(yyq.StackAt(0).m_value)) |
1858 | ){}} | 1858 | ){}} |
1859 | 1859 | ||
1860 | public class BinaryExpression_1 : BinaryExpression { | 1860 | public class BinaryExpression_1 : BinaryExpression { |
1861 | public BinaryExpression_1(Parser yyq):base(yyq, | 1861 | public BinaryExpression_1(Parser yyq):base(yyq, |
1862 | ((Expression)(yyq.StackAt(2).m_value)) | 1862 | ((Expression)(yyq.StackAt(2).m_value)) |
1863 | , | 1863 | , |
1864 | ((Expression)(yyq.StackAt(0).m_value)) | 1864 | ((Expression)(yyq.StackAt(0).m_value)) |
1865 | , | 1865 | , |
1866 | ((PLUS)(yyq.StackAt(1).m_value)) | 1866 | ((PLUS)(yyq.StackAt(1).m_value)) |
1867 | .yytext){}} | 1867 | .yytext){}} |
1868 | 1868 | ||
1869 | public class BinaryExpression_2 : BinaryExpression { | 1869 | public class BinaryExpression_2 : BinaryExpression { |
1870 | public BinaryExpression_2(Parser yyq):base(yyq, | 1870 | public BinaryExpression_2(Parser yyq):base(yyq, |
1871 | ((Expression)(yyq.StackAt(2).m_value)) | 1871 | ((Expression)(yyq.StackAt(2).m_value)) |
1872 | , | 1872 | , |
1873 | ((Expression)(yyq.StackAt(0).m_value)) | 1873 | ((Expression)(yyq.StackAt(0).m_value)) |
1874 | , | 1874 | , |
1875 | ((MINUS)(yyq.StackAt(1).m_value)) | 1875 | ((MINUS)(yyq.StackAt(1).m_value)) |
1876 | .yytext){}} | 1876 | .yytext){}} |
1877 | 1877 | ||
1878 | public class BinaryExpression_3 : BinaryExpression { | 1878 | public class BinaryExpression_3 : BinaryExpression { |
1879 | public BinaryExpression_3(Parser yyq):base(yyq, | 1879 | public BinaryExpression_3(Parser yyq):base(yyq, |
1880 | ((Expression)(yyq.StackAt(2).m_value)) | 1880 | ((Expression)(yyq.StackAt(2).m_value)) |
1881 | , | 1881 | , |
1882 | ((Expression)(yyq.StackAt(0).m_value)) | 1882 | ((Expression)(yyq.StackAt(0).m_value)) |
1883 | , | 1883 | , |
1884 | ((STAR)(yyq.StackAt(1).m_value)) | 1884 | ((STAR)(yyq.StackAt(1).m_value)) |
1885 | .yytext){}} | 1885 | .yytext){}} |
1886 | 1886 | ||
1887 | public class BinaryExpression_4 : BinaryExpression { | 1887 | public class BinaryExpression_4 : BinaryExpression { |
1888 | public BinaryExpression_4(Parser yyq):base(yyq, | 1888 | public BinaryExpression_4(Parser yyq):base(yyq, |
1889 | ((Expression)(yyq.StackAt(2).m_value)) | 1889 | ((Expression)(yyq.StackAt(2).m_value)) |
1890 | , | 1890 | , |
1891 | ((Expression)(yyq.StackAt(0).m_value)) | 1891 | ((Expression)(yyq.StackAt(0).m_value)) |
1892 | , | 1892 | , |
1893 | ((SLASH)(yyq.StackAt(1).m_value)) | 1893 | ((SLASH)(yyq.StackAt(1).m_value)) |
1894 | .yytext){}} | 1894 | .yytext){}} |
1895 | 1895 | ||
1896 | public class BinaryExpression_5 : BinaryExpression { | 1896 | public class BinaryExpression_5 : BinaryExpression { |
1897 | public BinaryExpression_5(Parser yyq):base(yyq, | 1897 | public BinaryExpression_5(Parser yyq):base(yyq, |
1898 | ((Expression)(yyq.StackAt(2).m_value)) | 1898 | ((Expression)(yyq.StackAt(2).m_value)) |
1899 | , | 1899 | , |
1900 | ((Expression)(yyq.StackAt(0).m_value)) | 1900 | ((Expression)(yyq.StackAt(0).m_value)) |
1901 | , | 1901 | , |
1902 | ((PERCENT)(yyq.StackAt(1).m_value)) | 1902 | ((PERCENT)(yyq.StackAt(1).m_value)) |
1903 | .yytext){}} | 1903 | .yytext){}} |
1904 | 1904 | ||
1905 | public class BinaryExpression_6 : BinaryExpression { | 1905 | public class BinaryExpression_6 : BinaryExpression { |
1906 | public BinaryExpression_6(Parser yyq):base(yyq, | 1906 | public BinaryExpression_6(Parser yyq):base(yyq, |
1907 | ((Expression)(yyq.StackAt(2).m_value)) | 1907 | ((Expression)(yyq.StackAt(2).m_value)) |
1908 | , | 1908 | , |
1909 | ((Expression)(yyq.StackAt(0).m_value)) | 1909 | ((Expression)(yyq.StackAt(0).m_value)) |
1910 | , | 1910 | , |
1911 | ((AMP)(yyq.StackAt(1).m_value)) | 1911 | ((AMP)(yyq.StackAt(1).m_value)) |
1912 | .yytext){}} | 1912 | .yytext){}} |
1913 | 1913 | ||
1914 | public class BinaryExpression_7 : BinaryExpression { | 1914 | public class BinaryExpression_7 : BinaryExpression { |
1915 | public BinaryExpression_7(Parser yyq):base(yyq, | 1915 | public BinaryExpression_7(Parser yyq):base(yyq, |
1916 | ((Expression)(yyq.StackAt(2).m_value)) | 1916 | ((Expression)(yyq.StackAt(2).m_value)) |
1917 | , | 1917 | , |
1918 | ((Expression)(yyq.StackAt(0).m_value)) | 1918 | ((Expression)(yyq.StackAt(0).m_value)) |
1919 | , | 1919 | , |
1920 | ((STROKE)(yyq.StackAt(1).m_value)) | 1920 | ((STROKE)(yyq.StackAt(1).m_value)) |
1921 | .yytext){}} | 1921 | .yytext){}} |
1922 | 1922 | ||
1923 | public class BinaryExpression_8 : BinaryExpression { | 1923 | public class BinaryExpression_8 : BinaryExpression { |
1924 | public BinaryExpression_8(Parser yyq):base(yyq, | 1924 | public BinaryExpression_8(Parser yyq):base(yyq, |
1925 | ((Expression)(yyq.StackAt(2).m_value)) | 1925 | ((Expression)(yyq.StackAt(2).m_value)) |
1926 | , | 1926 | , |
1927 | ((Expression)(yyq.StackAt(0).m_value)) | 1927 | ((Expression)(yyq.StackAt(0).m_value)) |
1928 | , | 1928 | , |
1929 | ((CARET)(yyq.StackAt(1).m_value)) | 1929 | ((CARET)(yyq.StackAt(1).m_value)) |
1930 | .yytext){}} | 1930 | .yytext){}} |
1931 | 1931 | ||
1932 | public class BinaryExpression_9 : BinaryExpression { | 1932 | public class BinaryExpression_9 : BinaryExpression { |
1933 | public BinaryExpression_9(Parser yyq):base(yyq, | 1933 | public BinaryExpression_9(Parser yyq):base(yyq, |
1934 | ((Expression)(yyq.StackAt(2).m_value)) | 1934 | ((Expression)(yyq.StackAt(2).m_value)) |
1935 | , | 1935 | , |
1936 | ((Expression)(yyq.StackAt(0).m_value)) | 1936 | ((Expression)(yyq.StackAt(0).m_value)) |
1937 | , | 1937 | , |
1938 | ((RIGHT_ANGLE)(yyq.StackAt(1).m_value)) | 1938 | ((RIGHT_ANGLE)(yyq.StackAt(1).m_value)) |
1939 | .yytext){}} | 1939 | .yytext){}} |
1940 | 1940 | ||
1941 | public class BinaryExpression_10 : BinaryExpression { | 1941 | public class BinaryExpression_10 : BinaryExpression { |
1942 | public BinaryExpression_10(Parser yyq):base(yyq, | 1942 | public BinaryExpression_10(Parser yyq):base(yyq, |
1943 | ((Expression)(yyq.StackAt(2).m_value)) | 1943 | ((Expression)(yyq.StackAt(2).m_value)) |
1944 | , | 1944 | , |
1945 | ((Expression)(yyq.StackAt(0).m_value)) | 1945 | ((Expression)(yyq.StackAt(0).m_value)) |
1946 | , | 1946 | , |
1947 | ((LEFT_ANGLE)(yyq.StackAt(1).m_value)) | 1947 | ((LEFT_ANGLE)(yyq.StackAt(1).m_value)) |
1948 | .yytext){}} | 1948 | .yytext){}} |
1949 | 1949 | ||
1950 | public class BinaryExpression_11 : BinaryExpression { | 1950 | public class BinaryExpression_11 : BinaryExpression { |
1951 | public BinaryExpression_11(Parser yyq):base(yyq, | 1951 | public BinaryExpression_11(Parser yyq):base(yyq, |
1952 | ((Expression)(yyq.StackAt(2).m_value)) | 1952 | ((Expression)(yyq.StackAt(2).m_value)) |
1953 | , | 1953 | , |
1954 | ((Expression)(yyq.StackAt(0).m_value)) | 1954 | ((Expression)(yyq.StackAt(0).m_value)) |
1955 | , | 1955 | , |
1956 | ((EQUALS_EQUALS)(yyq.StackAt(1).m_value)) | 1956 | ((EQUALS_EQUALS)(yyq.StackAt(1).m_value)) |
1957 | .yytext){}} | 1957 | .yytext){}} |
1958 | 1958 | ||
1959 | public class BinaryExpression_12 : BinaryExpression { | 1959 | public class BinaryExpression_12 : BinaryExpression { |
1960 | public BinaryExpression_12(Parser yyq):base(yyq, | 1960 | public BinaryExpression_12(Parser yyq):base(yyq, |
1961 | ((Expression)(yyq.StackAt(2).m_value)) | 1961 | ((Expression)(yyq.StackAt(2).m_value)) |
1962 | , | 1962 | , |
1963 | ((Expression)(yyq.StackAt(0).m_value)) | 1963 | ((Expression)(yyq.StackAt(0).m_value)) |
1964 | , | 1964 | , |
1965 | ((EXCLAMATION_EQUALS)(yyq.StackAt(1).m_value)) | 1965 | ((EXCLAMATION_EQUALS)(yyq.StackAt(1).m_value)) |
1966 | .yytext){}} | 1966 | .yytext){}} |
1967 | 1967 | ||
1968 | public class BinaryExpression_13 : BinaryExpression { | 1968 | public class BinaryExpression_13 : BinaryExpression { |
1969 | public BinaryExpression_13(Parser yyq):base(yyq, | 1969 | public BinaryExpression_13(Parser yyq):base(yyq, |
1970 | ((Expression)(yyq.StackAt(2).m_value)) | 1970 | ((Expression)(yyq.StackAt(2).m_value)) |
1971 | , | 1971 | , |
1972 | ((Expression)(yyq.StackAt(0).m_value)) | 1972 | ((Expression)(yyq.StackAt(0).m_value)) |
1973 | , | 1973 | , |
1974 | ((LESS_EQUALS)(yyq.StackAt(1).m_value)) | 1974 | ((LESS_EQUALS)(yyq.StackAt(1).m_value)) |
1975 | .yytext){}} | 1975 | .yytext){}} |
1976 | 1976 | ||
1977 | public class BinaryExpression_14 : BinaryExpression { | 1977 | public class BinaryExpression_14 : BinaryExpression { |
1978 | public BinaryExpression_14(Parser yyq):base(yyq, | 1978 | public BinaryExpression_14(Parser yyq):base(yyq, |
1979 | ((Expression)(yyq.StackAt(2).m_value)) | 1979 | ((Expression)(yyq.StackAt(2).m_value)) |
1980 | , | 1980 | , |
1981 | ((Expression)(yyq.StackAt(0).m_value)) | 1981 | ((Expression)(yyq.StackAt(0).m_value)) |
1982 | , | 1982 | , |
1983 | ((GREATER_EQUALS)(yyq.StackAt(1).m_value)) | 1983 | ((GREATER_EQUALS)(yyq.StackAt(1).m_value)) |
1984 | .yytext){}} | 1984 | .yytext){}} |
1985 | 1985 | ||
1986 | public class BinaryExpression_15 : BinaryExpression { | 1986 | public class BinaryExpression_15 : BinaryExpression { |
1987 | public BinaryExpression_15(Parser yyq):base(yyq, | 1987 | public BinaryExpression_15(Parser yyq):base(yyq, |
1988 | ((Expression)(yyq.StackAt(2).m_value)) | 1988 | ((Expression)(yyq.StackAt(2).m_value)) |
1989 | , | 1989 | , |
1990 | ((Expression)(yyq.StackAt(0).m_value)) | 1990 | ((Expression)(yyq.StackAt(0).m_value)) |
1991 | , | 1991 | , |
1992 | ((AMP_AMP)(yyq.StackAt(1).m_value)) | 1992 | ((AMP_AMP)(yyq.StackAt(1).m_value)) |
1993 | .yytext){}} | 1993 | .yytext){}} |
1994 | 1994 | ||
1995 | public class BinaryExpression_16 : BinaryExpression { | 1995 | public class BinaryExpression_16 : BinaryExpression { |
1996 | public BinaryExpression_16(Parser yyq):base(yyq, | 1996 | public BinaryExpression_16(Parser yyq):base(yyq, |
1997 | ((Expression)(yyq.StackAt(2).m_value)) | 1997 | ((Expression)(yyq.StackAt(2).m_value)) |
1998 | , | 1998 | , |
1999 | ((Expression)(yyq.StackAt(0).m_value)) | 1999 | ((Expression)(yyq.StackAt(0).m_value)) |
2000 | , | 2000 | , |
2001 | ((STROKE_STROKE)(yyq.StackAt(1).m_value)) | 2001 | ((STROKE_STROKE)(yyq.StackAt(1).m_value)) |
2002 | .yytext){}} | 2002 | .yytext){}} |
2003 | 2003 | ||
2004 | public class BinaryExpression_17 : BinaryExpression { | 2004 | public class BinaryExpression_17 : BinaryExpression { |
2005 | public BinaryExpression_17(Parser yyq):base(yyq, | 2005 | public BinaryExpression_17(Parser yyq):base(yyq, |
2006 | ((Expression)(yyq.StackAt(2).m_value)) | 2006 | ((Expression)(yyq.StackAt(2).m_value)) |
2007 | , | 2007 | , |
2008 | ((Expression)(yyq.StackAt(0).m_value)) | 2008 | ((Expression)(yyq.StackAt(0).m_value)) |
2009 | , | 2009 | , |
2010 | ((LEFT_SHIFT)(yyq.StackAt(1).m_value)) | 2010 | ((LEFT_SHIFT)(yyq.StackAt(1).m_value)) |
2011 | .yytext){}} | 2011 | .yytext){}} |
2012 | 2012 | ||
2013 | public class BinaryExpression_18 : BinaryExpression { | 2013 | public class BinaryExpression_18 : BinaryExpression { |
2014 | public BinaryExpression_18(Parser yyq):base(yyq, | 2014 | public BinaryExpression_18(Parser yyq):base(yyq, |
2015 | ((Expression)(yyq.StackAt(2).m_value)) | 2015 | ((Expression)(yyq.StackAt(2).m_value)) |
2016 | , | 2016 | , |
2017 | ((Expression)(yyq.StackAt(0).m_value)) | 2017 | ((Expression)(yyq.StackAt(0).m_value)) |
2018 | , | 2018 | , |
2019 | ((RIGHT_SHIFT)(yyq.StackAt(1).m_value)) | 2019 | ((RIGHT_SHIFT)(yyq.StackAt(1).m_value)) |
2020 | .yytext){}} | 2020 | .yytext){}} |
2021 | 2021 | ||
2022 | public class UnaryExpression_1 : UnaryExpression { | 2022 | public class UnaryExpression_1 : UnaryExpression { |
2023 | public UnaryExpression_1(Parser yyq):base(yyq, | 2023 | public UnaryExpression_1(Parser yyq):base(yyq, |
2024 | ((EXCLAMATION)(yyq.StackAt(1).m_value)) | 2024 | ((EXCLAMATION)(yyq.StackAt(1).m_value)) |
2025 | .yytext, | 2025 | .yytext, |
2026 | ((Expression)(yyq.StackAt(0).m_value)) | 2026 | ((Expression)(yyq.StackAt(0).m_value)) |
2027 | ){}} | 2027 | ){}} |
2028 | 2028 | ||
2029 | public class UnaryExpression_2 : UnaryExpression { | 2029 | public class UnaryExpression_2 : UnaryExpression { |
2030 | public UnaryExpression_2(Parser yyq):base(yyq, | 2030 | public UnaryExpression_2(Parser yyq):base(yyq, |
2031 | ((MINUS)(yyq.StackAt(1).m_value)) | 2031 | ((MINUS)(yyq.StackAt(1).m_value)) |
2032 | .yytext, | 2032 | .yytext, |
2033 | ((Expression)(yyq.StackAt(0).m_value)) | 2033 | ((Expression)(yyq.StackAt(0).m_value)) |
2034 | ){}} | 2034 | ){}} |
2035 | 2035 | ||
2036 | public class UnaryExpression_3 : UnaryExpression { | 2036 | public class UnaryExpression_3 : UnaryExpression { |
2037 | public UnaryExpression_3(Parser yyq):base(yyq, | 2037 | public UnaryExpression_3(Parser yyq):base(yyq, |
2038 | ((TILDE)(yyq.StackAt(1).m_value)) | 2038 | ((TILDE)(yyq.StackAt(1).m_value)) |
2039 | .yytext, | 2039 | .yytext, |
2040 | ((Expression)(yyq.StackAt(0).m_value)) | 2040 | ((Expression)(yyq.StackAt(0).m_value)) |
2041 | ){}} | 2041 | ){}} |
2042 | 2042 | ||
2043 | public class ParenthesisExpression_1 : ParenthesisExpression { | 2043 | public class ParenthesisExpression_1 : ParenthesisExpression { |
2044 | public ParenthesisExpression_1(Parser yyq):base(yyq, | 2044 | public ParenthesisExpression_1(Parser yyq):base(yyq, |
2045 | ((Expression)(yyq.StackAt(1).m_value)) | 2045 | ((Expression)(yyq.StackAt(1).m_value)) |
2046 | ){}} | 2046 | ){}} |
2047 | 2047 | ||
2048 | public class ParenthesisExpression_2 : ParenthesisExpression { | 2048 | public class ParenthesisExpression_2 : ParenthesisExpression { |
2049 | public ParenthesisExpression_2(Parser yyq):base(yyq, | 2049 | public ParenthesisExpression_2(Parser yyq):base(yyq, |
2050 | ((SimpleAssignment)(yyq.StackAt(1).m_value)) | 2050 | ((SimpleAssignment)(yyq.StackAt(1).m_value)) |
2051 | ){}} | 2051 | ){}} |
2052 | 2052 | ||
2053 | public class TypecastExpression_1 : TypecastExpression { | 2053 | public class TypecastExpression_1 : TypecastExpression { |
2054 | public TypecastExpression_1(Parser yyq):base(yyq, | 2054 | public TypecastExpression_1(Parser yyq):base(yyq, |
2055 | ((Typename)(yyq.StackAt(2).m_value)) | 2055 | ((Typename)(yyq.StackAt(2).m_value)) |
2056 | .yytext, | 2056 | .yytext, |
2057 | ((Constant)(yyq.StackAt(0).m_value)) | 2057 | ((Constant)(yyq.StackAt(0).m_value)) |
2058 | ){}} | 2058 | ){}} |
2059 | 2059 | ||
2060 | public class TypecastExpression_2 : TypecastExpression { | 2060 | public class TypecastExpression_2 : TypecastExpression { |
2061 | public TypecastExpression_2(Parser yyq):base(yyq, | 2061 | public TypecastExpression_2(Parser yyq):base(yyq, |
2062 | ((Typename)(yyq.StackAt(2).m_value)) | 2062 | ((Typename)(yyq.StackAt(2).m_value)) |
2063 | .yytext, new IdentExpression(((LSLSyntax | 2063 | .yytext, new IdentExpression(((LSLSyntax |
2064 | )yyq), | 2064 | )yyq), |
2065 | ((IDENT)(yyq.StackAt(0).m_value)) | 2065 | ((IDENT)(yyq.StackAt(0).m_value)) |
2066 | .yytext)){}} | 2066 | .yytext)){}} |
2067 | 2067 | ||
2068 | public class TypecastExpression_3 : TypecastExpression { | 2068 | public class TypecastExpression_3 : TypecastExpression { |
2069 | public TypecastExpression_3(Parser yyq):base(yyq, | 2069 | public TypecastExpression_3(Parser yyq):base(yyq, |
2070 | ((Typename)(yyq.StackAt(4).m_value)) | 2070 | ((Typename)(yyq.StackAt(4).m_value)) |
2071 | .yytext, new IdentDotExpression(((LSLSyntax | 2071 | .yytext, new IdentDotExpression(((LSLSyntax |
2072 | )yyq), | 2072 | )yyq), |
2073 | ((IDENT)(yyq.StackAt(2).m_value)) | 2073 | ((IDENT)(yyq.StackAt(2).m_value)) |
2074 | .yytext, | 2074 | .yytext, |
2075 | ((IDENT)(yyq.StackAt(0).m_value)) | 2075 | ((IDENT)(yyq.StackAt(0).m_value)) |
2076 | .yytext)){}} | 2076 | .yytext)){}} |
2077 | 2077 | ||
2078 | public class TypecastExpression_4 : TypecastExpression { | 2078 | public class TypecastExpression_4 : TypecastExpression { |
2079 | public TypecastExpression_4(Parser yyq):base(yyq, | 2079 | public TypecastExpression_4(Parser yyq):base(yyq, |
2080 | ((Typename)(yyq.StackAt(3).m_value)) | 2080 | ((Typename)(yyq.StackAt(3).m_value)) |
2081 | .yytext, new IncrementDecrementExpression(((LSLSyntax | 2081 | .yytext, new IncrementDecrementExpression(((LSLSyntax |
2082 | )yyq), | 2082 | )yyq), |
2083 | ((IDENT)(yyq.StackAt(1).m_value)) | 2083 | ((IDENT)(yyq.StackAt(1).m_value)) |
2084 | .yytext, | 2084 | .yytext, |
2085 | ((INCREMENT)(yyq.StackAt(0).m_value)) | 2085 | ((INCREMENT)(yyq.StackAt(0).m_value)) |
2086 | .yytext, true)){}} | 2086 | .yytext, true)){}} |
2087 | 2087 | ||
2088 | public class TypecastExpression_5 : TypecastExpression { | 2088 | public class TypecastExpression_5 : TypecastExpression { |
2089 | public TypecastExpression_5(Parser yyq):base(yyq, | 2089 | public TypecastExpression_5(Parser yyq):base(yyq, |
2090 | ((Typename)(yyq.StackAt(5).m_value)) | 2090 | ((Typename)(yyq.StackAt(5).m_value)) |
2091 | .yytext, new IncrementDecrementExpression(((LSLSyntax | 2091 | .yytext, new IncrementDecrementExpression(((LSLSyntax |
2092 | )yyq), new IdentDotExpression(((LSLSyntax | 2092 | )yyq), new IdentDotExpression(((LSLSyntax |
2093 | )yyq), | 2093 | )yyq), |
2094 | ((IDENT)(yyq.StackAt(3).m_value)) | 2094 | ((IDENT)(yyq.StackAt(3).m_value)) |
2095 | .yytext, | 2095 | .yytext, |
2096 | ((IDENT)(yyq.StackAt(1).m_value)) | 2096 | ((IDENT)(yyq.StackAt(1).m_value)) |
2097 | .yytext), | 2097 | .yytext), |
2098 | ((INCREMENT)(yyq.StackAt(0).m_value)) | 2098 | ((INCREMENT)(yyq.StackAt(0).m_value)) |
2099 | .yytext, true)){}} | 2099 | .yytext, true)){}} |
2100 | 2100 | ||
2101 | public class TypecastExpression_6 : TypecastExpression { | 2101 | public class TypecastExpression_6 : TypecastExpression { |
2102 | public TypecastExpression_6(Parser yyq):base(yyq, | 2102 | public TypecastExpression_6(Parser yyq):base(yyq, |
2103 | ((Typename)(yyq.StackAt(3).m_value)) | 2103 | ((Typename)(yyq.StackAt(3).m_value)) |
2104 | .yytext, new IncrementDecrementExpression(((LSLSyntax | 2104 | .yytext, new IncrementDecrementExpression(((LSLSyntax |
2105 | )yyq), | 2105 | )yyq), |
2106 | ((IDENT)(yyq.StackAt(1).m_value)) | 2106 | ((IDENT)(yyq.StackAt(1).m_value)) |
2107 | .yytext, | 2107 | .yytext, |
2108 | ((DECREMENT)(yyq.StackAt(0).m_value)) | 2108 | ((DECREMENT)(yyq.StackAt(0).m_value)) |
2109 | .yytext, true)){}} | 2109 | .yytext, true)){}} |
2110 | 2110 | ||
2111 | public class TypecastExpression_7 : TypecastExpression { | 2111 | public class TypecastExpression_7 : TypecastExpression { |
2112 | public TypecastExpression_7(Parser yyq):base(yyq, | 2112 | public TypecastExpression_7(Parser yyq):base(yyq, |
2113 | ((Typename)(yyq.StackAt(5).m_value)) | 2113 | ((Typename)(yyq.StackAt(5).m_value)) |
2114 | .yytext, new IncrementDecrementExpression(((LSLSyntax | 2114 | .yytext, new IncrementDecrementExpression(((LSLSyntax |
2115 | )yyq), new IdentDotExpression(((LSLSyntax | 2115 | )yyq), new IdentDotExpression(((LSLSyntax |
2116 | )yyq), | 2116 | )yyq), |
2117 | ((IDENT)(yyq.StackAt(3).m_value)) | 2117 | ((IDENT)(yyq.StackAt(3).m_value)) |
2118 | .yytext, | 2118 | .yytext, |
2119 | ((IDENT)(yyq.StackAt(1).m_value)) | 2119 | ((IDENT)(yyq.StackAt(1).m_value)) |
2120 | .yytext), | 2120 | .yytext), |
2121 | ((DECREMENT)(yyq.StackAt(0).m_value)) | 2121 | ((DECREMENT)(yyq.StackAt(0).m_value)) |
2122 | .yytext, true)){}} | 2122 | .yytext, true)){}} |
2123 | 2123 | ||
2124 | public class TypecastExpression_8 : TypecastExpression { | 2124 | public class TypecastExpression_8 : TypecastExpression { |
2125 | public TypecastExpression_8(Parser yyq):base(yyq, | 2125 | public TypecastExpression_8(Parser yyq):base(yyq, |
2126 | ((Typename)(yyq.StackAt(2).m_value)) | 2126 | ((Typename)(yyq.StackAt(2).m_value)) |
2127 | .yytext, | 2127 | .yytext, |
2128 | ((FunctionCall)(yyq.StackAt(0).m_value)) | 2128 | ((FunctionCall)(yyq.StackAt(0).m_value)) |
2129 | ){}} | 2129 | ){}} |
2130 | 2130 | ||
2131 | public class TypecastExpression_9 : TypecastExpression { | 2131 | public class TypecastExpression_9 : TypecastExpression { |
2132 | public TypecastExpression_9(Parser yyq):base(yyq, | 2132 | public TypecastExpression_9(Parser yyq):base(yyq, |
2133 | ((Typename)(yyq.StackAt(4).m_value)) | 2133 | ((Typename)(yyq.StackAt(4).m_value)) |
2134 | .yytext, | 2134 | .yytext, |
2135 | ((Expression)(yyq.StackAt(1).m_value)) | 2135 | ((Expression)(yyq.StackAt(1).m_value)) |
2136 | ){}} | 2136 | ){}} |
2137 | 2137 | ||
2138 | public class FunctionCall_1 : FunctionCall { | 2138 | public class FunctionCall_1 : FunctionCall { |
2139 | public FunctionCall_1(Parser yyq):base(yyq, | 2139 | public FunctionCall_1(Parser yyq):base(yyq, |
2140 | ((IDENT)(yyq.StackAt(3).m_value)) | 2140 | ((IDENT)(yyq.StackAt(3).m_value)) |
2141 | .yytext, | 2141 | .yytext, |
2142 | ((ArgumentList)(yyq.StackAt(1).m_value)) | 2142 | ((ArgumentList)(yyq.StackAt(1).m_value)) |
2143 | ){}} | 2143 | ){}} |
2144 | 2144 | ||
2145 | public class ArgumentList_1 : ArgumentList { | 2145 | public class ArgumentList_1 : ArgumentList { |
2146 | public ArgumentList_1(Parser yyq):base(yyq, | 2146 | public ArgumentList_1(Parser yyq):base(yyq, |
2147 | ((Argument)(yyq.StackAt(0).m_value)) | 2147 | ((Argument)(yyq.StackAt(0).m_value)) |
2148 | ){}} | 2148 | ){}} |
2149 | 2149 | ||
2150 | public class ArgumentList_2 : ArgumentList { | 2150 | public class ArgumentList_2 : ArgumentList { |
2151 | public ArgumentList_2(Parser yyq):base(yyq, | 2151 | public ArgumentList_2(Parser yyq):base(yyq, |
2152 | ((ArgumentList)(yyq.StackAt(2).m_value)) | 2152 | ((ArgumentList)(yyq.StackAt(2).m_value)) |
2153 | , | 2153 | , |
2154 | ((Argument)(yyq.StackAt(0).m_value)) | 2154 | ((Argument)(yyq.StackAt(0).m_value)) |
2155 | ){}} | 2155 | ){}} |
2156 | 2156 | ||
2157 | public class ExpressionArgument_1 : ExpressionArgument { | 2157 | public class ExpressionArgument_1 : ExpressionArgument { |
2158 | public ExpressionArgument_1(Parser yyq):base(yyq, | 2158 | public ExpressionArgument_1(Parser yyq):base(yyq, |
2159 | ((Expression)(yyq.StackAt(0).m_value)) | 2159 | ((Expression)(yyq.StackAt(0).m_value)) |
2160 | ){}} | 2160 | ){}} |
2161 | 2161 | ||
2162 | public class Typename_1 : Typename { | 2162 | public class Typename_1 : Typename { |
2163 | public Typename_1(Parser yyq):base(yyq, | 2163 | public Typename_1(Parser yyq):base(yyq, |
2164 | ((INTEGER_TYPE)(yyq.StackAt(0).m_value)) | 2164 | ((INTEGER_TYPE)(yyq.StackAt(0).m_value)) |
2165 | .yytext){}} | 2165 | .yytext){}} |
2166 | 2166 | ||
2167 | public class Typename_2 : Typename { | 2167 | public class Typename_2 : Typename { |
2168 | public Typename_2(Parser yyq):base(yyq, | 2168 | public Typename_2(Parser yyq):base(yyq, |
2169 | ((FLOAT_TYPE)(yyq.StackAt(0).m_value)) | 2169 | ((FLOAT_TYPE)(yyq.StackAt(0).m_value)) |
2170 | .yytext){}} | 2170 | .yytext){}} |
2171 | 2171 | ||
2172 | public class Typename_3 : Typename { | 2172 | public class Typename_3 : Typename { |
2173 | public Typename_3(Parser yyq):base(yyq, | 2173 | public Typename_3(Parser yyq):base(yyq, |
2174 | ((STRING_TYPE)(yyq.StackAt(0).m_value)) | 2174 | ((STRING_TYPE)(yyq.StackAt(0).m_value)) |
2175 | .yytext){}} | 2175 | .yytext){}} |
2176 | 2176 | ||
2177 | public class Typename_4 : Typename { | 2177 | public class Typename_4 : Typename { |
2178 | public Typename_4(Parser yyq):base(yyq, | 2178 | public Typename_4(Parser yyq):base(yyq, |
2179 | ((KEY_TYPE)(yyq.StackAt(0).m_value)) | 2179 | ((KEY_TYPE)(yyq.StackAt(0).m_value)) |
2180 | .yytext){}} | 2180 | .yytext){}} |
2181 | 2181 | ||
2182 | public class Typename_5 : Typename { | 2182 | public class Typename_5 : Typename { |
2183 | public Typename_5(Parser yyq):base(yyq, | 2183 | public Typename_5(Parser yyq):base(yyq, |
2184 | ((VECTOR_TYPE)(yyq.StackAt(0).m_value)) | 2184 | ((VECTOR_TYPE)(yyq.StackAt(0).m_value)) |
2185 | .yytext){}} | 2185 | .yytext){}} |
2186 | 2186 | ||
2187 | public class Typename_6 : Typename { | 2187 | public class Typename_6 : Typename { |
2188 | public Typename_6(Parser yyq):base(yyq, | 2188 | public Typename_6(Parser yyq):base(yyq, |
2189 | ((ROTATION_TYPE)(yyq.StackAt(0).m_value)) | 2189 | ((ROTATION_TYPE)(yyq.StackAt(0).m_value)) |
2190 | .yytext){}} | 2190 | .yytext){}} |
2191 | 2191 | ||
2192 | public class Typename_7 : Typename { | 2192 | public class Typename_7 : Typename { |
2193 | public Typename_7(Parser yyq):base(yyq, | 2193 | public Typename_7(Parser yyq):base(yyq, |
2194 | ((LIST_TYPE)(yyq.StackAt(0).m_value)) | 2194 | ((LIST_TYPE)(yyq.StackAt(0).m_value)) |
2195 | .yytext){}} | 2195 | .yytext){}} |
2196 | 2196 | ||
2197 | public class Event_1 : Event { | 2197 | public class Event_1 : Event { |
2198 | public Event_1(Parser yyq):base(yyq, | 2198 | public Event_1(Parser yyq):base(yyq, |
2199 | ((DATASERVER_EVENT)(yyq.StackAt(0).m_value)) | 2199 | ((DATASERVER_EVENT)(yyq.StackAt(0).m_value)) |
2200 | .yytext){}} | 2200 | .yytext){}} |
2201 | 2201 | ||
2202 | public class Event_2 : Event { | 2202 | public class Event_2 : Event { |
2203 | public Event_2(Parser yyq):base(yyq, | 2203 | public Event_2(Parser yyq):base(yyq, |
2204 | ((EMAIL_EVENT)(yyq.StackAt(0).m_value)) | 2204 | ((EMAIL_EVENT)(yyq.StackAt(0).m_value)) |
2205 | .yytext){}} | 2205 | .yytext){}} |
2206 | 2206 | ||
2207 | public class Event_3 : Event { | 2207 | public class Event_3 : Event { |
2208 | public Event_3(Parser yyq):base(yyq, | 2208 | public Event_3(Parser yyq):base(yyq, |
2209 | ((HTTP_RESPONSE_EVENT)(yyq.StackAt(0).m_value)) | 2209 | ((HTTP_RESPONSE_EVENT)(yyq.StackAt(0).m_value)) |
2210 | .yytext){}} | 2210 | .yytext){}} |
2211 | 2211 | ||
2212 | public class Event_4 : Event { | 2212 | public class Event_4 : Event { |
2213 | public Event_4(Parser yyq):base(yyq, | 2213 | public Event_4(Parser yyq):base(yyq, |
2214 | ((LINK_MESSAGE_EVENT)(yyq.StackAt(0).m_value)) | 2214 | ((LINK_MESSAGE_EVENT)(yyq.StackAt(0).m_value)) |
2215 | .yytext){}} | 2215 | .yytext){}} |
2216 | 2216 | ||
2217 | public class Event_5 : Event { | 2217 | public class Event_5 : Event { |
2218 | public Event_5(Parser yyq):base(yyq, | 2218 | public Event_5(Parser yyq):base(yyq, |
2219 | ((LISTEN_EVENT)(yyq.StackAt(0).m_value)) | 2219 | ((LISTEN_EVENT)(yyq.StackAt(0).m_value)) |
2220 | .yytext){}} | 2220 | .yytext){}} |
2221 | 2221 | ||
2222 | public class Event_6 : Event { | 2222 | public class Event_6 : Event { |
2223 | public Event_6(Parser yyq):base(yyq, | 2223 | public Event_6(Parser yyq):base(yyq, |
2224 | ((MONEY_EVENT)(yyq.StackAt(0).m_value)) | 2224 | ((MONEY_EVENT)(yyq.StackAt(0).m_value)) |
2225 | .yytext){}} | 2225 | .yytext){}} |
2226 | 2226 | ||
2227 | public class Event_7 : Event { | 2227 | public class Event_7 : Event { |
2228 | public Event_7(Parser yyq):base(yyq, | 2228 | public Event_7(Parser yyq):base(yyq, |
2229 | ((REMOTE_DATA_EVENT)(yyq.StackAt(0).m_value)) | 2229 | ((REMOTE_DATA_EVENT)(yyq.StackAt(0).m_value)) |
2230 | .yytext){}} | 2230 | .yytext){}} |
2231 | 2231 | ||
2232 | public class Event_8 : Event { | 2232 | public class Event_8 : Event { |
2233 | public Event_8(Parser yyq):base(yyq, | 2233 | public Event_8(Parser yyq):base(yyq, |
2234 | ((HTTP_REQUEST_EVENT)(yyq.StackAt(0).m_value)) | 2234 | ((HTTP_REQUEST_EVENT)(yyq.StackAt(0).m_value)) |
2235 | .yytext){}} | 2235 | .yytext){}} |
2236 | 2236 | ||
2237 | public class Event_9 : Event { | 2237 | public class Event_9 : Event { |
2238 | public Event_9(Parser yyq):base(yyq, | 2238 | public Event_9(Parser yyq):base(yyq, |
2239 | ((TRANSACTION_RESULT_EVENT)(yyq.StackAt(0).m_value)) | 2239 | ((TRANSACTION_RESULT_EVENT)(yyq.StackAt(0).m_value)) |
2240 | .yytext){}} | 2240 | .yytext){}} |
2241 | 2241 | ||
2242 | public class VoidArgEvent_1 : VoidArgEvent { | 2242 | public class VoidArgEvent_1 : VoidArgEvent { |
2243 | public VoidArgEvent_1(Parser yyq):base(yyq, | 2243 | public VoidArgEvent_1(Parser yyq):base(yyq, |
2244 | ((STATE_ENTRY_EVENT)(yyq.StackAt(0).m_value)) | 2244 | ((STATE_ENTRY_EVENT)(yyq.StackAt(0).m_value)) |
2245 | .yytext){}} | 2245 | .yytext){}} |
2246 | 2246 | ||
2247 | public class VoidArgEvent_2 : VoidArgEvent { | 2247 | public class VoidArgEvent_2 : VoidArgEvent { |
2248 | public VoidArgEvent_2(Parser yyq):base(yyq, | 2248 | public VoidArgEvent_2(Parser yyq):base(yyq, |
2249 | ((STATE_EXIT_EVENT)(yyq.StackAt(0).m_value)) | 2249 | ((STATE_EXIT_EVENT)(yyq.StackAt(0).m_value)) |
2250 | .yytext){}} | 2250 | .yytext){}} |
2251 | 2251 | ||
2252 | public class VoidArgEvent_3 : VoidArgEvent { | 2252 | public class VoidArgEvent_3 : VoidArgEvent { |
2253 | public VoidArgEvent_3(Parser yyq):base(yyq, | 2253 | public VoidArgEvent_3(Parser yyq):base(yyq, |
2254 | ((MOVING_END_EVENT)(yyq.StackAt(0).m_value)) | 2254 | ((MOVING_END_EVENT)(yyq.StackAt(0).m_value)) |
2255 | .yytext){}} | 2255 | .yytext){}} |
2256 | 2256 | ||
2257 | public class VoidArgEvent_4 : VoidArgEvent { | 2257 | public class VoidArgEvent_4 : VoidArgEvent { |
2258 | public VoidArgEvent_4(Parser yyq):base(yyq, | 2258 | public VoidArgEvent_4(Parser yyq):base(yyq, |
2259 | ((MOVING_START_EVENT)(yyq.StackAt(0).m_value)) | 2259 | ((MOVING_START_EVENT)(yyq.StackAt(0).m_value)) |
2260 | .yytext){}} | 2260 | .yytext){}} |
2261 | 2261 | ||
2262 | public class VoidArgEvent_5 : VoidArgEvent { | 2262 | public class VoidArgEvent_5 : VoidArgEvent { |
2263 | public VoidArgEvent_5(Parser yyq):base(yyq, | 2263 | public VoidArgEvent_5(Parser yyq):base(yyq, |
2264 | ((NO_SENSOR_EVENT)(yyq.StackAt(0).m_value)) | 2264 | ((NO_SENSOR_EVENT)(yyq.StackAt(0).m_value)) |
2265 | .yytext){}} | 2265 | .yytext){}} |
2266 | 2266 | ||
2267 | public class VoidArgEvent_6 : VoidArgEvent { | 2267 | public class VoidArgEvent_6 : VoidArgEvent { |
2268 | public VoidArgEvent_6(Parser yyq):base(yyq, | 2268 | public VoidArgEvent_6(Parser yyq):base(yyq, |
2269 | ((NOT_AT_ROT_TARGET_EVENT)(yyq.StackAt(0).m_value)) | 2269 | ((NOT_AT_ROT_TARGET_EVENT)(yyq.StackAt(0).m_value)) |
2270 | .yytext){}} | 2270 | .yytext){}} |
2271 | 2271 | ||
2272 | public class VoidArgEvent_7 : VoidArgEvent { | 2272 | public class VoidArgEvent_7 : VoidArgEvent { |
2273 | public VoidArgEvent_7(Parser yyq):base(yyq, | 2273 | public VoidArgEvent_7(Parser yyq):base(yyq, |
2274 | ((NOT_AT_TARGET_EVENT)(yyq.StackAt(0).m_value)) | 2274 | ((NOT_AT_TARGET_EVENT)(yyq.StackAt(0).m_value)) |
2275 | .yytext){}} | 2275 | .yytext){}} |
2276 | 2276 | ||
2277 | public class VoidArgEvent_8 : VoidArgEvent { | 2277 | public class VoidArgEvent_8 : VoidArgEvent { |
2278 | public VoidArgEvent_8(Parser yyq):base(yyq, | 2278 | public VoidArgEvent_8(Parser yyq):base(yyq, |
2279 | ((TIMER_EVENT)(yyq.StackAt(0).m_value)) | 2279 | ((TIMER_EVENT)(yyq.StackAt(0).m_value)) |
2280 | .yytext){}} | 2280 | .yytext){}} |
2281 | 2281 | ||
2282 | public class KeyArgEvent_1 : KeyArgEvent { | 2282 | public class KeyArgEvent_1 : KeyArgEvent { |
2283 | public KeyArgEvent_1(Parser yyq):base(yyq, | 2283 | public KeyArgEvent_1(Parser yyq):base(yyq, |
2284 | ((ATTACH_EVENT)(yyq.StackAt(0).m_value)) | 2284 | ((ATTACH_EVENT)(yyq.StackAt(0).m_value)) |
2285 | .yytext){}} | 2285 | .yytext){}} |
2286 | 2286 | ||
2287 | public class KeyArgEvent_2 : KeyArgEvent { | 2287 | public class KeyArgEvent_2 : KeyArgEvent { |
2288 | public KeyArgEvent_2(Parser yyq):base(yyq, | 2288 | public KeyArgEvent_2(Parser yyq):base(yyq, |
2289 | ((OBJECT_REZ_EVENT)(yyq.StackAt(0).m_value)) | 2289 | ((OBJECT_REZ_EVENT)(yyq.StackAt(0).m_value)) |
2290 | .yytext){}} | 2290 | .yytext){}} |
2291 | 2291 | ||
2292 | public class IntArgEvent_1 : IntArgEvent { | 2292 | public class IntArgEvent_1 : IntArgEvent { |
2293 | public IntArgEvent_1(Parser yyq):base(yyq, | 2293 | public IntArgEvent_1(Parser yyq):base(yyq, |
2294 | ((CHANGED_EVENT)(yyq.StackAt(0).m_value)) | 2294 | ((CHANGED_EVENT)(yyq.StackAt(0).m_value)) |
2295 | .yytext){}} | 2295 | .yytext){}} |
2296 | 2296 | ||
2297 | public class IntArgEvent_2 : IntArgEvent { | 2297 | public class IntArgEvent_2 : IntArgEvent { |
2298 | public IntArgEvent_2(Parser yyq):base(yyq, | 2298 | public IntArgEvent_2(Parser yyq):base(yyq, |
2299 | ((COLLISION_EVENT)(yyq.StackAt(0).m_value)) | 2299 | ((COLLISION_EVENT)(yyq.StackAt(0).m_value)) |
2300 | .yytext){}} | 2300 | .yytext){}} |
2301 | 2301 | ||
2302 | public class IntArgEvent_3 : IntArgEvent { | 2302 | public class IntArgEvent_3 : IntArgEvent { |
2303 | public IntArgEvent_3(Parser yyq):base(yyq, | 2303 | public IntArgEvent_3(Parser yyq):base(yyq, |
2304 | ((COLLISION_END_EVENT)(yyq.StackAt(0).m_value)) | 2304 | ((COLLISION_END_EVENT)(yyq.StackAt(0).m_value)) |
2305 | .yytext){}} | 2305 | .yytext){}} |
2306 | 2306 | ||
2307 | public class IntArgEvent_4 : IntArgEvent { | 2307 | public class IntArgEvent_4 : IntArgEvent { |
2308 | public IntArgEvent_4(Parser yyq):base(yyq, | 2308 | public IntArgEvent_4(Parser yyq):base(yyq, |
2309 | ((COLLISION_START_EVENT)(yyq.StackAt(0).m_value)) | 2309 | ((COLLISION_START_EVENT)(yyq.StackAt(0).m_value)) |
2310 | .yytext){}} | 2310 | .yytext){}} |
2311 | 2311 | ||
2312 | public class IntArgEvent_5 : IntArgEvent { | 2312 | public class IntArgEvent_5 : IntArgEvent { |
2313 | public IntArgEvent_5(Parser yyq):base(yyq, | 2313 | public IntArgEvent_5(Parser yyq):base(yyq, |
2314 | ((ON_REZ_EVENT)(yyq.StackAt(0).m_value)) | 2314 | ((ON_REZ_EVENT)(yyq.StackAt(0).m_value)) |
2315 | .yytext){}} | 2315 | .yytext){}} |
2316 | 2316 | ||
2317 | public class IntArgEvent_6 : IntArgEvent { | 2317 | public class IntArgEvent_6 : IntArgEvent { |
2318 | public IntArgEvent_6(Parser yyq):base(yyq, | 2318 | public IntArgEvent_6(Parser yyq):base(yyq, |
2319 | ((RUN_TIME_PERMISSIONS_EVENT)(yyq.StackAt(0).m_value)) | 2319 | ((RUN_TIME_PERMISSIONS_EVENT)(yyq.StackAt(0).m_value)) |
2320 | .yytext){}} | 2320 | .yytext){}} |
2321 | 2321 | ||
2322 | public class IntArgEvent_7 : IntArgEvent { | 2322 | public class IntArgEvent_7 : IntArgEvent { |
2323 | public IntArgEvent_7(Parser yyq):base(yyq, | 2323 | public IntArgEvent_7(Parser yyq):base(yyq, |
2324 | ((SENSOR_EVENT)(yyq.StackAt(0).m_value)) | 2324 | ((SENSOR_EVENT)(yyq.StackAt(0).m_value)) |
2325 | .yytext){}} | 2325 | .yytext){}} |
2326 | 2326 | ||
2327 | public class IntArgEvent_8 : IntArgEvent { | 2327 | public class IntArgEvent_8 : IntArgEvent { |
2328 | public IntArgEvent_8(Parser yyq):base(yyq, | 2328 | public IntArgEvent_8(Parser yyq):base(yyq, |
2329 | ((TOUCH_EVENT)(yyq.StackAt(0).m_value)) | 2329 | ((TOUCH_EVENT)(yyq.StackAt(0).m_value)) |
2330 | .yytext){}} | 2330 | .yytext){}} |
2331 | 2331 | ||
2332 | public class IntArgEvent_9 : IntArgEvent { | 2332 | public class IntArgEvent_9 : IntArgEvent { |
2333 | public IntArgEvent_9(Parser yyq):base(yyq, | 2333 | public IntArgEvent_9(Parser yyq):base(yyq, |
2334 | ((TOUCH_END_EVENT)(yyq.StackAt(0).m_value)) | 2334 | ((TOUCH_END_EVENT)(yyq.StackAt(0).m_value)) |
2335 | .yytext){}} | 2335 | .yytext){}} |
2336 | 2336 | ||
2337 | public class IntArgEvent_10 : IntArgEvent { | 2337 | public class IntArgEvent_10 : IntArgEvent { |
2338 | public IntArgEvent_10(Parser yyq):base(yyq, | 2338 | public IntArgEvent_10(Parser yyq):base(yyq, |
2339 | ((TOUCH_START_EVENT)(yyq.StackAt(0).m_value)) | 2339 | ((TOUCH_START_EVENT)(yyq.StackAt(0).m_value)) |
2340 | .yytext){}} | 2340 | .yytext){}} |
2341 | 2341 | ||
2342 | public class VectorArgEvent_1 : VectorArgEvent { | 2342 | public class VectorArgEvent_1 : VectorArgEvent { |
2343 | public VectorArgEvent_1(Parser yyq):base(yyq, | 2343 | public VectorArgEvent_1(Parser yyq):base(yyq, |
2344 | ((LAND_COLLISION_EVENT)(yyq.StackAt(0).m_value)) | 2344 | ((LAND_COLLISION_EVENT)(yyq.StackAt(0).m_value)) |
2345 | .yytext){}} | 2345 | .yytext){}} |
2346 | 2346 | ||
2347 | public class VectorArgEvent_2 : VectorArgEvent { | 2347 | public class VectorArgEvent_2 : VectorArgEvent { |
2348 | public VectorArgEvent_2(Parser yyq):base(yyq, | 2348 | public VectorArgEvent_2(Parser yyq):base(yyq, |
2349 | ((LAND_COLLISION_END_EVENT)(yyq.StackAt(0).m_value)) | 2349 | ((LAND_COLLISION_END_EVENT)(yyq.StackAt(0).m_value)) |
2350 | .yytext){}} | 2350 | .yytext){}} |
2351 | 2351 | ||
2352 | public class VectorArgEvent_3 : VectorArgEvent { | 2352 | public class VectorArgEvent_3 : VectorArgEvent { |
2353 | public VectorArgEvent_3(Parser yyq):base(yyq, | 2353 | public VectorArgEvent_3(Parser yyq):base(yyq, |
2354 | ((LAND_COLLISION_START_EVENT)(yyq.StackAt(0).m_value)) | 2354 | ((LAND_COLLISION_START_EVENT)(yyq.StackAt(0).m_value)) |
2355 | .yytext){}} | 2355 | .yytext){}} |
2356 | 2356 | ||
2357 | public class IntRotRotArgEvent_1 : IntRotRotArgEvent { | 2357 | public class IntRotRotArgEvent_1 : IntRotRotArgEvent { |
2358 | public IntRotRotArgEvent_1(Parser yyq):base(yyq, | 2358 | public IntRotRotArgEvent_1(Parser yyq):base(yyq, |
2359 | ((AT_ROT_TARGET_EVENT)(yyq.StackAt(0).m_value)) | 2359 | ((AT_ROT_TARGET_EVENT)(yyq.StackAt(0).m_value)) |
2360 | .yytext){}} | 2360 | .yytext){}} |
2361 | 2361 | ||
2362 | public class IntVecVecArgEvent_1 : IntVecVecArgEvent { | 2362 | public class IntVecVecArgEvent_1 : IntVecVecArgEvent { |
2363 | public IntVecVecArgEvent_1(Parser yyq):base(yyq, | 2363 | public IntVecVecArgEvent_1(Parser yyq):base(yyq, |
2364 | ((AT_TARGET_EVENT)(yyq.StackAt(0).m_value)) | 2364 | ((AT_TARGET_EVENT)(yyq.StackAt(0).m_value)) |
2365 | .yytext){}} | 2365 | .yytext){}} |
2366 | 2366 | ||
2367 | public class KeyIntIntArgEvent_1 : KeyIntIntArgEvent { | 2367 | public class KeyIntIntArgEvent_1 : KeyIntIntArgEvent { |
2368 | public KeyIntIntArgEvent_1(Parser yyq):base(yyq, | 2368 | public KeyIntIntArgEvent_1(Parser yyq):base(yyq, |
2369 | ((CONTROL_EVENT)(yyq.StackAt(0).m_value)) | 2369 | ((CONTROL_EVENT)(yyq.StackAt(0).m_value)) |
2370 | .yytext){}} | 2370 | .yytext){}} |
2371 | public class yyLSLSyntax | 2371 | public class yyLSLSyntax |
2372 | : YyParser { | 2372 | : YyParser { |
2373 | public override object Action(Parser yyq,SYMBOL yysym, int yyact) { | 2373 | public override object Action(Parser yyq,SYMBOL yysym, int yyact) { |
2374 | switch(yyact) { | 2374 | switch(yyact) { |
2375 | case -1: break; //// keep compiler happy | 2375 | case -1: break; //// keep compiler happy |
2376 | } return null; } | 2376 | } return null; } |
2377 | 2377 | ||
2378 | public class ArgumentDeclarationList_3 : ArgumentDeclarationList { | 2378 | public class ArgumentDeclarationList_3 : ArgumentDeclarationList { |
@@ -2390,7 +2390,7 @@ public class ArgumentDeclarationList_4 : ArgumentDeclarationList { | |||
2390 | public class ArgumentDeclarationList_5 : ArgumentDeclarationList { | 2390 | public class ArgumentDeclarationList_5 : ArgumentDeclarationList { |
2391 | public ArgumentDeclarationList_5(Parser yyq):base(yyq){}} | 2391 | public ArgumentDeclarationList_5(Parser yyq):base(yyq){}} |
2392 | public yyLSLSyntax | 2392 | public yyLSLSyntax |
2393 | ():base() { arr = new int[] { | 2393 | ():base() { arr = new int[] { |
2394 | 101,4,6,52,0, | 2394 | 101,4,6,52,0, |
2395 | 46,0,53,0,102, | 2395 | 46,0,53,0,102, |
2396 | 20,103,4,28,76, | 2396 | 20,103,4,28,76, |