Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Protected static fields | List of all members
Loyc.Syntax.Les.Les2PrecedenceMap Class Reference

Source file:
Inheritance diagram for Loyc.Syntax.Les.Les2PrecedenceMap:
Loyc.Syntax.Les.Les3PrecedenceMap

Properties

static new Les2PrecedenceMap Default [get]
 
- Properties inherited from Loyc.Syntax.Les.Les3PrecedenceMap
static Les3PrecedenceMap Default [get]
 
Pair< MMap< object, Precedence >
, Precedence
this[OperatorShape s] [get, set]
 

Protected static fields

static new Les2PrecedenceMap _default
 
- Protected static fields inherited from Loyc.Syntax.Les.Les3PrecedenceMap
static Les3PrecedenceMap _default
 
static readonly Map< object,
Precedence
PredefinedPrefixPrecedence
 
static readonly Map< object,
Precedence
PredefinedSuffixPrecedence
 
static readonly Map< object,
Precedence
PredefinedInfixPrecedence
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Syntax.Les.Les3PrecedenceMap
virtual void Reset ()
 Forgets previously encountered operators to save memory. More...
 
Precedence Find (OperatorShape shape, object op, bool cacheWordOp=true)
 Gets the precedence in LES of a prefix, suffix, or infix operator. More...
 
Symbol ToSuffixOpName (object symbol)
 Given a normal operator symbol like (Symbol)"'++", gets the suffix form of the name, such as (Symbol)"'suf++". More...
 
- Static Public Member Functions inherited from Loyc.Syntax.Les.Les3PrecedenceMap
static bool IsOpChar (char c)
 Returns true if this character is one of those that operators are normally made out of in LES. More...
 
static bool IsOpCharEx (char c)
 Returns true if this character is one of those that can appear in "extended" LESv3 operators that start with an apostrophe. More...
 
static bool IsNaturalOperator (UString name)
 Returns true if the given Symbol can be printed as an operator without escaping it in LESv2. More...
 
static bool IsNaturalOperatorToken (UString name)
 Like IsNaturalOperator, but doesn't expect name[0] is apostrophe. More...
 
static bool IsExtendedOperatorToken (UString name)
 Returns true if the given Symbol can ever be used as an "extended" binary operator in LESv3. More...
 
static bool ResemblesSuffixOperator (Symbol name, out Symbol bareName)
 Decides whether the name resembles a suffix operator. More...
 
- Protected Member Functions inherited from Loyc.Syntax.Les.Les3PrecedenceMap
 Les3PrecedenceMap (bool les2mode)
 
Precedence FindPrecedence (MMap< object, Precedence > table, object symbol, Precedence @default, bool cacheWordOp)
 
- Protected fields inherited from Loyc.Syntax.Les.Les3PrecedenceMap
readonly bool _les2mode
 
Pair< MMap< object, Precedence >
, Precedence >[] 
_precedenceMap = new Pair<MMap<object, Precedence>, Precedence>[4]