package gve.calc.formula; import awt.*; import java.awt.*; import awt.Button; import java.awt.event.*; import java.util.Hashtable;
@author Geert Vernaeve |
Returns an operator whose name is a prefix of the given string. Basically, this function answers the question "does this string begins with an operator name?". If multiple operators match, return the operator with the longest name. E.g. if name is "->" then we don't return "-" but "->" (supposed those two are operator names) |
Given a prefix of an operator (e.g. ":") try to complete this prefix to find an operator with a name as long as possible (eg ":=") |
If this Part is badly positioned in the syntax tree, rotate. Else do nothing. |
A default strategy, so a subclass only has to implement saveOperatorLatex() |