Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. [INFO] Parser: IfStatementParser Input: "if(a>b){int a = 0; int b = a + b - (3*b)/4.5f;}"
  2. [INFO] Res:
  3. "if(a>b){int a = 0; int b = a + b - (3*b)/4.5f;}" [IF-STATEMENT, 0-47, 47 chars, 7 parts]
  4. "if" [0-2, 2 chars]
  5. "(" [2-3, 1 chars]
  6. "a>b" [CONDITION, 3-6, 3 chars, 3 parts]
  7. "a" [NAME, 3-4, 1 chars]
  8. ">" [COMPARATOR, 4-5, 1 chars]
  9. "b" [NAME, 5-6, 1 chars]
  10. ")" [6-7, 1 chars]
  11. "{" [7-8, 1 chars]
  12. "int a = 0; int b = a + b - (3*b)/4.5f;" [CODEBLOCKS, 8-46, 38 chars, 2 parts]
  13. "int a = 0;" [DECL/INIT, 8-18, 10 chars, 5 parts]
  14. "int" [TYPE, 8-11, 3 chars]
  15. "a" [NAME, 12-13, 1 chars]
  16. "=" [14-15, 1 chars]
  17. "0" [INT, 16-17, 1 chars]
  18. ";" [17-18, 1 chars]
  19. "int b = a + b - (3*b)/4.5f;" [DECL/INIT, 19-46, 27 chars, 5 parts]
  20. "int" [TYPE, 19-22, 3 chars]
  21. "b" [NAME, 23-24, 1 chars]
  22. "=" [25-26, 1 chars]
  23. "a + b - (3*b)/4.5f" [OPERATION, 27-45, 18 chars, 3 parts]
  24. "a" [NAME, 27-28, 1 chars]
  25. "+" [MODE, 29-30, 1 chars]
  26. "b - (3*b)/4.5f" [OPERATION, 31-45, 14 chars, 3 parts]
  27. "b" [NAME, 31-32, 1 chars]
  28. "-" [MODE, 33-34, 1 chars]
  29. "(3*b)/4.5f" [OPERATION, 35-45, 10 chars, 3 parts]
  30. "(3*b)" [ENCLOSED, 35-40, 5 chars, 3 parts]
  31. "(" [35-36, 1 chars]
  32. "3*b" [OPERATION, 36-39, 3 chars, 3 parts]
  33. "3" [INT, 36-37, 1 chars]
  34. "*" [MODE, 37-38, 1 chars]
  35. "b" [NAME, 38-39, 1 chars]
  36. ")" [39-40, 1 chars]
  37. "/" [MODE, 40-41, 1 chars]
  38. "4.5f" [FLOAT, 41-45, 4 chars, 4 parts]
  39. "4" [INT, 41-42, 1 chars]
  40. "." [42-43, 1 chars]
  41. "5" [INT, 43-44, 1 chars]
  42. "f" [44-45, 1 chars]
  43. ";" [45-46, 1 chars]
  44. "}" [46-47, 1 chars]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement