m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
332 B

6 months ago
  1. """
  2. AST nodes specific to C++.
  3. """
  4. from sympy.codegen.ast import Attribute, String, Token, Type, none
  5. class using(Token):
  6. """ Represents a 'using' statement in C++ """
  7. __slots__ = ('type', 'alias')
  8. defaults = {'alias': none}
  9. _construct_type = Type
  10. _construct_alias = String
  11. constexpr = Attribute('constexpr')