This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ServiceProcess; | |
using System.Threading; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private sealed partial class statement_return : AstParserRuleReturnScope<CommonTree, IToken> | |
{ | |
public MibDocument result = new MibDocument(); | |
public statement_return(SmiParser grammar) {OnCreated(grammar);} | |
partial void OnCreated(SmiParser grammar); | |
} | |
partial void EnterRule_statement(); | |
partial void LeaveRule_statement(); | |
// $ANTLR start "statement" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function GetNumber(var temp: String): Integer; | |
var | |
part: String; | |
pos1: Integer; | |
begin | |
if Length(temp) = 0 then | |
begin | |
Result := -1; | |
Exit; | |
end; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AppVersion=6.0.0.1004 | |
AppID={{F768F6BA-F164-4599-BC26-DCCFC2F76855} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MyAppID "{F768F6BA-F164-4599-BC26-DCCFC2F76855}" | |
#define MyAppCopyright "Copyright (C) 2005-2007 Lex Li and other contributors." | |
#define MyAppName "Code Beautifier Collection" | |
#define MyAppVersion GetFileVersion("..\bin\release\Lextm.CodeBeautifierCollection.Framework.dll") | |
[Setup] | |
AppName={#MyAppName} | |
AppVerName={#MyAppName} | |
AppPublisher=Lex Li (lextm) | |
AppPublisherURL=http://lextm.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PropertyGroup> | |
<AntlrBuildTaskPath>$(MSBuildProjectDirectory)\..\lib\ANTLR</AntlrBuildTaskPath> | |
<AntlrToolPath>$(MSBuildProjectDirectory)\..\lib\antlr\antlr3.exe</AntlrToolPath> | |
</PropertyGroup> | |
<Import Project="..\lib\ANTLR\Antlr3.targets" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Reference Include="Antlr3.Runtime, Version=3.4.1.9004, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL"> | |
<SpecificVersion>False</SpecificVersion> | |
<HintPath>..\packages\Antlr.Unofficial.3.4.1.0\lib\Antlr3.Runtime.dll</HintPath> | |
</Reference> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Antlr3 Include="Mib\Smi.g" /> | |
<None Include="Mib\Smi_no_action.g" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Alter code generation so catch-clauses get replace with | |
// this action. | |
@rulecatch{ | |
catch (RecognitionException) | |
{ | |
throw; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
// ReSharper disable InconsistentNaming | |
namespace JexusManager | |
{ | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Security.Principal; | |
using System.Windows.Forms; |