Otherwise, the original character is placed in the output stream, and the input stream is reset to the original position.
否则,将原来的字符放到输出流中,并且将输入流重置到原始位置。
Lex tries each rule in order, matching the longest stream of input it can.
lex依次尝试每一个规则,尽可能地匹配最长的输入流。
IntegerLiteral expects to immediately encounter an integer in the input stream, else the expression would be invalid.
integerLiteral希望在输入流中立即遇到一个整数,否则该表达式将无效。
应用推荐