Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 분석해야할 코드
- String str = "123'apple'false";
- // str 코드를 분석 lexer 합니다.
- Lexer(str);
- // Token
- {
- type = String, value = "apple",
- type = Integer, value = 123,
- type = Boolean, value = false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement