C# 逻辑表达式解析器源码

上传者: welliu | 上传时间: 2021-07-26 20:28:21 | 文件大小: 174KB | 文件类型: RAR
对四则混合运算做了些扩展,增加了关键字,表达式最终还是返回一个运算值。 支持操作数:int、double、bool、datetime、string 支持关键字:IF、AND、OR、NOT、TRUE、FALSE、ToString、ToDateTime、ToInt、ToDouble、Len、NowDate 详细信息参见:http://blog.csdn.net/welliu/archive/2011/04/25/6360777.aspx

文件下载

资源详情

[{"title":"( 46 个子文件 174KB ) C# 逻辑表达式解析器源码","children":[{"title":"ExpressionParser.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"源码","children":[{"title":"ExpressionParserTest","children":[{"title":"ExpressionParserTest","children":[{"title":"Form1.cs <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ExpressionParserTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ExpressionParserTest.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"ExpressionParser.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"ExpressionParser.pdb <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.Form1.resources <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"ExpressionParserTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ExpressionParserTest.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ExpressionParserTest.csproj <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 11.03KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 7.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExpressionParserTest.sln <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"ExpressionParserTest.suo <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExpressionParser","children":[{"title":"ExpressionParser","children":[{"title":"ExpressionParser.csproj <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ExpressionParser.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"ExpressionParser.pdb <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SyntaxAnalyzer.cs <span style='color:#111;'> 22.90KB </span>","children":null,"spread":false},{"title":"ExpressionParser.cs <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ExpressionParser.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"ExpressionParser.pdb <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"ExpressionParser.dll <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"TempPE","children":null,"spread":false},{"title":"ExpressionParser.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"Define.cs <span style='color:#111;'> 8.72KB </span>","children":null,"spread":false},{"title":"Grammar.cs <span style='color:#111;'> 13.40KB </span>","children":null,"spread":false},{"title":"Enum.cs <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"Evaluator.cs <span style='color:#111;'> 20.85KB </span>","children":null,"spread":false},{"title":"ToolBox.cs <span style='color:#111;'> 5.16KB </span>","children":null,"spread":false},{"title":"GrammarAnalyzer.cs <span style='color:#111;'> 19.11KB </span>","children":null,"spread":false},{"title":"PhraseAnalyzer.cs <span style='color:#111;'> 13.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"ExpressionParser.suo <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"ExpressionParser.sln <span style='color:#111;'> 938B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ExpressionParserTest.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • mountainlord :
    很有想法,太感谢分享了
    2017-11-08
  • maze0611 :
    给你5星不怕你骄傲,非常棒的代码,可以借鉴。
    2017-06-20
  • fireary :
    打开测试程序一测试就知道是我想要的东东,非常感谢,少花很多时间,建议要10分资源分
    2017-06-19
  • smallmonker :
    代码很好,很有借鉴意义,thank
    2016-11-13
  • lewis00982 :
    挺好的,对自己的工作很有用
    2016-09-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明