33 lines
600 B
Python
33 lines
600 B
Python
#! /usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# vim:fenc=utf-8
|
|
#
|
|
# Copyright © 2017 lafrite <lafrite@Poivre>
|
|
#
|
|
# Distributed under terms of the MIT license.
|
|
|
|
"""
|
|
Tokens: practical envelop of math object
|
|
|
|
"""
|
|
|
|
class Token(object):
|
|
|
|
""" Token: practical envelop of an math object """
|
|
|
|
def __init__(self, mo, name=""):
|
|
self._mo = mo
|
|
self.name = name
|
|
self._mathtype = None
|
|
|
|
@classmethod
|
|
def random(cls):
|
|
raise NotImplemented
|
|
|
|
|
|
|
|
# -----------------------------
|
|
# Reglages pour 'vim'
|
|
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
|
# cursor: 16 del
|