Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
completing C# keywords "explicit","namespace","using" and rebuilding …
Browse files Browse the repository at this point in the history
…derivatives
  • Loading branch information
Coeur committed Jul 23, 2018
1 parent 453bd5f commit 5812b4d
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 22 deletions.
Binary file modified distrib/prettify-small.zip
Binary file not shown.
12 changes: 7 additions & 5 deletions js-modules/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ var prettyPrint;
"instanceof,interface,null,native,package,strictfp,super,synchronized," +
"throws,transient"];
var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending," +
"dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface," +
"internal,into,is,join,let,lock,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong," +
"unchecked,unsafe,ushort,value,var,virtual,where,yield"];
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked," +
"decimal,delegate,descending,dynamic,event,explicit,finally,fixed," +
"foreach,from,get,global,group,implicit,in,interface,internal,into,is," +
"join,let,lock,namespace,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string," +
"select,uint,ulong,unchecked,unsafe,ushort,using,value,var,virtual," +
"where,yield"];
var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
"throw,true,try,unless,until,when,while,yes";
Expand Down
2 changes: 1 addition & 1 deletion loader/prettify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion loader/run_prettify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions src/node_prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ var prettyPrint;
"instanceof,interface,null,native,package,strictfp,super,synchronized," +
"throws,transient"];
var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending," +
"dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface," +
"internal,into,is,join,let,lock,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong," +
"unchecked,unsafe,ushort,value,var,virtual,where,yield"];
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked," +
"decimal,delegate,descending,dynamic,event,explicit,finally,fixed," +
"foreach,from,get,global,group,implicit,in,interface,internal,into,is," +
"join,let,lock,namespace,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string," +
"select,uint,ulong,unchecked,unsafe,ushort,using,value,var,virtual," +
"where,yield"];
var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
"throw,true,try,unless,until,when,while,yes";
Expand Down
12 changes: 7 additions & 5 deletions src/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,13 @@ var prettyPrint;
"instanceof,interface,null,native,package,strictfp,super,synchronized," +
"throws,transient"];
var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending," +
"dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface," +
"internal,into,is,join,let,lock,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong," +
"unchecked,unsafe,ushort,value,var,virtual,where,yield"];
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked," +
"decimal,delegate,descending,dynamic,event,explicit,finally,fixed," +
"foreach,from,get,global,group,implicit,in,interface,internal,into,is," +
"join,let,lock,namespace,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string," +
"select,uint,ulong,unchecked,unsafe,ushort,using,value,var,virtual," +
"where,yield"];
var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
"throw,true,try,unless,until,when,while,yes";
Expand Down
12 changes: 7 additions & 5 deletions src/run_prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,13 @@ var IN_GLOBAL_SCOPE = false;
"instanceof,interface,null,native,package,strictfp,super,synchronized," +
"throws,transient"];
var CSHARP_KEYWORDS = [COMMON_KEYWORDS,
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending," +
"dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface," +
"internal,into,is,join,let,lock,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong," +
"unchecked,unsafe,ushort,value,var,virtual,where,yield"];
"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked," +
"decimal,delegate,descending,dynamic,event,explicit,finally,fixed," +
"foreach,from,get,global,group,implicit,in,interface,internal,into,is," +
"join,let,lock,namespace,null,object,out,override,orderby,params," +
"partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string," +
"select,uint,ulong,unchecked,unsafe,ushort,using,value,var,virtual," +
"where,yield"];
var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
"throw,true,try,unless,until,when,while,yes";
Expand Down

0 comments on commit 5812b4d

Please sign in to comment.