opuntiaOS - an operating system targeting x86 and ARMv7
1# Copyright 2021 Nikita Melekhin. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5class Token: 6 7 def __init__(self, type=None, value=None): 8 self.type = type 9 self.value = value 10 11 def __str__(self): 12 return "Token({0}, {1})".format(self.type, self.value)