1 package org.python.parser.ast; 3 4 public interface operatorType { 5 public static final int Add = 1; 6 public static final int Sub = 2; 7 public static final int Mult = 3; 8 public static final int Div = 4; 9 public static final int Mod = 5; 10 public static final int Pow = 6; 11 public static final int LShift = 7; 12 public static final int RShift = 8; 13 public static final int BitOr = 9; 14 public static final int BitXor = 10; 15 public static final int BitAnd = 11; 16 public static final int FloorDiv = 12; 17 18 public static final String [] operatorTypeNames = new String [] { 19 "<undef>", 20 "Add", 21 "Sub", 22 "Mult", 23 "Div", 24 "Mod", 25 "Pow", 26 "LShift", 27 "RShift", 28 "BitOr", 29 "BitXor", 30 "BitAnd", 31 "FloorDiv", 32 }; 33 } 34 | Popular Tags |