Skip to content

Commit

Permalink
Add CSHARPSRC Language (#1750)
Browse files Browse the repository at this point in the history
For the open-source CSHARPSRC language frontend.
  • Loading branch information
DavidBakerEffendi authored Dec 15, 2023
1 parent f6ea610 commit 162a50c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public class Languages {
/** Source-based frontend for Swift */
public static final String SWIFTSRC = "SWIFTSRC";

/** Source-based frontend for C# and .NET */
public static final String CSHARPSRC = "CSHARPSRC";


public static Set<String> ALL = new HashSet<String>() {{
add(JAVA);
Expand All @@ -82,6 +85,7 @@ public class Languages {
add(SOLIDITY);
add(RUBYSRC);
add(SWIFTSRC);
add(CSHARPSRC);
}};

}
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ object MetaData extends SchemaBase {
value = "SWIFTSRC",
valueType = ValueType.String,
comment = "Source-based frontend for Swift"
).protoId(18)
).protoId(18),
Constant(
name = "CSHARPSRC",
value = "CSHARPSRC",
valueType = ValueType.String,
comment = "Source-based frontend for C# and .NET"
).protoId(19)
)
}
}

0 comments on commit 162a50c

Please sign in to comment.