aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/src/SourceEditor/CSharpParser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CrowIDE/src/SourceEditor/CSharpParser.cs')
-rw-r--r--CrowIDE/src/SourceEditor/CSharpParser.cs45
1 files changed, 45 insertions, 0 deletions
diff --git a/CrowIDE/src/SourceEditor/CSharpParser.cs b/CrowIDE/src/SourceEditor/CSharpParser.cs
new file mode 100644
index 00000000..7d2e28e5
--- /dev/null
+++ b/CrowIDE/src/SourceEditor/CSharpParser.cs
@@ -0,0 +1,45 @@
+using System;
+using Crow;
+
+namespace Crow.Coding
+{
+ public class CSharpParser : Parser
+ {
+ public new enum TokenType {
+ Unknown = Parser.TokenType.Unknown,
+ WhiteSpace = Parser.TokenType.WhiteSpace,
+ LineComment = Parser.TokenType.LineComment,
+ BlockComment = Parser.TokenType.BlockComment,
+ OpenParenth,
+ CloseParenth,
+ OpenBlock,
+ CloseBlock,
+ StatementEnding,
+ UnaryOp,
+ BinaryOp,
+ Affectation,
+ StringLiteral,
+ CharacterLiteral,
+ DigitalLiteral,
+ Literal,
+ Identifier,
+ Indexer,
+ Type,
+ Preprocessor,
+ }
+
+ public CSharpParser (CodeBuffer _buffer) : base(_buffer)
+ {
+ }
+
+ public override void ParseCurrentLine ()
+ {
+ throw new NotImplementedException ();
+ }
+ public override void SyntaxAnalysis ()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+