📄 t.g
字号:
options {
language = "Sather";
}
class T extends Lexer;
options {
k=2;
filter=IGNORE;
charVocabulary = '\3'..'\177';
}
{
-- used here temporarily to circumvent translation of
-- the "#OUT" in the IGNORE action.
println( msg: STR ) is
#OUT + msg + "\n";
end;
}
P : "<p>" ;
BR: "<br>" ;
protected
IGNORE
: '<' (~'>')* '>' { println( "invalid tag: " + %getText ); }
| ( "\r\n" | '\r' | '\n' ) {newline;}
| .
;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -