jasm.io
Class JasmFileReader
java.lang.Object
jasm.io.JasmFileReader
public class JasmFileReader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JasmFileReader
public JasmFileReader()
parseBytecode
public static Bytecode parseBytecode(java.lang.String text)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseLoadStoreBytecode
public static Bytecode parseLoadStoreBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseArrayLoadStoreBytecode
public static Bytecode parseArrayLoadStoreBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseInvokeBytecode
public static Bytecode parseInvokeBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseReturnBytecode
public static Bytecode parseReturnBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseFieldBytecode
public static Bytecode parseFieldBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseConstBytecode
public static Bytecode parseConstBytecode(java.util.ArrayList<java.lang.String> tokens)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
parseType
public static JvmType parseType(char c)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
error
public static void error(java.lang.String msg)
throws JasmFileReader.ParseError
- Throws:
JasmFileReader.ParseError
Copyright © 2013 David J. Pearce. All Rights Reserved.