Enhanced C#
Language of your choice: library documentation
Properties | Public Member Functions | List of all members
LeMP.LexicalMacroAttribute Class Reference

Marks a method as an LEL simple macro. More...


Source file:
Inheritance diagram for LeMP.LexicalMacroAttribute:
LeMP.MacroInfo

Remarks

Marks a method as an LEL simple macro.

To be recognized as a macro, the method must be public and static and its signature must be LexicalMacro. A class will not be automatically searched for macros unless the class is marked with ContainsMacrosAttribute.

Properties

string Syntax [get, protected set]
 
string Description [get, protected set]
 
string[] Names [get]
 
MacroMode Mode [get, set]
 
MacroMode Priority [get]
 

Public Member Functions

 LexicalMacroAttribute (string syntax, string description, params string[] names)
 LexicalMacroAttribute constuctor. More...
 

Constructor & Destructor Documentation

LeMP.LexicalMacroAttribute.LexicalMacroAttribute ( string  syntax,
string  description,
params string[]  names 
)
inline

LexicalMacroAttribute constuctor.

Parameters
syntaxA string that shows the expected syntax used to call the node.
description
names