Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. package com.krb;
  2.  
  3. public class StackFunction {
  4.  
  5. enum Intrinsic {
  6. PLUS, MINUS, TIMES, DIVIDE, PRINTLN, STR, EQUAL, GREATER_THAN, LESS_THAN
  7. }
  8.  
  9. class InputDeclaration {
  10.  
  11. public InputDeclaration(String input1, String input2) {
  12. }
  13.  
  14. void pushVar(String v1, String v2) {
  15. return;
  16. }
  17.  
  18. void op(Intrinsic operation) {
  19. return;
  20. }
  21.  
  22. void local(String v1) {
  23. return;
  24. }
  25.  
  26. void pop() {
  27. return;
  28. }
  29.  
  30. void push(int value) {
  31.  
  32. }
  33.  
  34. void push(String value) {
  35.  
  36. }
  37.  
  38. void ifTrue(CodeBlock cbTrue, CodeBlock cbFalse) {
  39.  
  40. }
  41.  
  42. }
  43.  
  44. class CodeBlock {
  45.  
  46. }
  47.  
  48.  
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement