⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syntaxbuilder.syntax

📁 java 词法分析器,用于一般的C,C++,VB,PS/SQL 语句的翻译
💻 SYNTAX
字号:
# SyntaxBuilder EBNF synax description, written in its own syntax/* This is just an example, the real syntax is in SyntaxBuilderSemantic.java */// START rulesyntax	::=	rule +	// a syntax consists of one or more rules	;set	::=	`bnf_chardef` ".." `bnf_chardef`	// character set definition	;intersectionstartunit	::=	set | `identifier` | `ruleref`	// intersection of character sets	;intersectionunit	::=	`bnf_chardef` | `stringdef` | intersectionstartunit	;intersection	::=	intersectionstartunit ('-' intersectionunit)+	;sequnit	::=	intersection | intersectionunit | '(' unionseq ')' 	// unit of a sequence	;quantifiedsequnit	::=	sequnit `quantifier` | sequnit	// unit can be quantified	;sequence	::=	quantifiedsequnit *	// sequence of units with significant order	;unionseq	::=	sequence ('|' sequence)*	// rule alternatives	;rule	::=	`identifier` "::=" unionseq ';'	// syntax rule	;ignored ::= `comment` | `whitespaces`	;

⌨️ 快捷键说明

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