| 8 | |
| 9 | |
| 10 | public class NullProgram implements JSProgram { |
| 11 | |
| 12 | private String filename; |
| 13 | |
| 14 | public NullProgram(String filename) { |
| 15 | this.filename = filename; |
| 16 | } |
| 17 | |
| 18 | @Override |
| 19 | public Completion execute(ExecutionContext context) { |
| 20 | return Completion.createNormal(); |
| 21 | } |
| 22 | |
| 23 | @Override |
| 24 | public BlockManager getBlockManager() { |
| 25 | return null; |
| 26 | } |
| 27 | |
| 28 | @Override |
| 29 | public String getFileName() { |
| 30 | return this.filename; |
| 31 | } |
| 32 | |
| 33 | @Override |
| 34 | public boolean isStrict() { |
| 35 | return false; |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | public List<FunctionDeclaration> getFunctionDeclarations() { |
| 40 | return Collections.emptyList(); |
| 41 | } |
| 42 | |
| 43 | @Override |
| 44 | public List<VariableDeclaration> getVariableDeclarations() { |
| 45 | return Collections.emptyList(); |
| 46 | } |
| 47 | |
| 48 | |
| 49 | } |
nothing calls this directly
no outgoing calls
no test coverage detected