main.java
来自「一个非常好的检索工具」· Java 代码 · 共 33 行
JAVA
33 行
// $Id: Main.java,v 1.3 1999/11/04 14:02:16 shields Exp $// This software is subject to the terms of the IBM Jikes Compiler// License Agreement available at the following URL:// http://www.ibm.com/research/jikes.// Copyright (C) 1983, 1999, International Business Machines Corporation// and others. All Rights Reserved.// You must accept the terms of that agreement to use this software.public class Main{ public static void main(String[] args) throws java.io.IOException, java.io.FileNotFoundException { Option option = new Option(args); if (option.filename == null) { System.out.println("No Input File Specified !!!"); return; } LexStream lex_stream = new LexStream(option.filename); Scanner scanner = new Scanner(option, lex_stream); scanner.scan(); if (option.dump) lex_stream.dump(); Parser parser = new Parser(lex_stream); parser.parse(); return; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?