inescsyntax.java

来自「plugin for eclipse」· Java 代码 · 共 40 行

JAVA
40
字号
package isis.tinydt.editors.nesceditor;

public interface INesCSyntax 
{
	public static final String[] reservedwords = 
	{		
		"default", "async", "norace", "uses",
		"provides", "call", "signal", "post",
		"command", "event", "task", "includes",
		"interface", "module", "implementation",
		"configuration", "components", 
		"__attribute__", "as"
	};

	public static final String[] c_keywords = 
	{
  		"const", "sizeof", "return","break",
		"continue","goto","register", "auto",
		"static","extern","typedef", "while",
		"do","for","switch","case","if","else",
		"struct","union","enum",
	};
		  
    public static final String[] types = 
    {
  		"uint8_t", "int8_t", "uint16_t", "int16_t",
		"TOS_Msg", "TOS_MsgPtr", "short", 
		"result_t", "void", "int", "double",
		"char", "bool"
    };
  
    public static final String[] constants = 
    {
    	"FALSE", "NULL",
        "TRUE", "false", "true", "null"
    };
    
    Object[] allWords = {reservedwords, types, constants, c_keywords};
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?