Files
School/Anul 2/Semestrul 1/Metode avansate de programare/Interpretor/Models/Statements/NopStatement.java
T
2024-08-31 12:07:21 +03:00

24 lines
511 B
Java

package Models.Statements;
import Models.Program.IDictionary;
import Models.Program.ProgramState;
import Models.Types.IType;
public class NopStatement implements IStatement {
public String toString() {
return "";
}
public IStatement copy() {
return new NopStatement();
}
public ProgramState execute(ProgramState state) {
return null;
}
public IDictionary<String, IType> typeCheck(IDictionary<String, IType> typeTable) {
return typeTable;
}
}