public ExpressionDocumentation(ResourceKeyStack messagePath, IExpressionParser expr, Type type)
 {
     GatherTokens(expr);
     _name = type.Name;
     _messagePath = messagePath.BranchFor(expr);
     _category = CategoryHelper.GetCategory(type);
     _description = _messagePath.Description;
 }
Example #2
0
 public ExpressionDocumentation(ResourceKeyStack messagePath, IExpressionParser expr, Type type)
 {
     GatherTokens(expr);
     _name        = type.Name;
     _messagePath = messagePath.BranchFor(expr);
     _category    = CategoryHelper.GetCategory(type);
     _description = _messagePath.Description;
 }
 public FunctionDocumentation(string libName, ResourceKeyStack messagePath, IFunctionDefinition func)
 {
     _libName = libName;
     _name = func.Name;
     _arguments = func.Arguments;
     _returnType = func.ReturnType;
     _messagePath = messagePath.BranchFor(func);
     _description=_messagePath.Description;
     _category = CategoryHelper.GetCategory(func.GetType());
 }
Example #4
0
 public FunctionDocumentation(string libName, ResourceKeyStack messagePath, IFunctionDefinition func)
 {
     _libName     = libName;
     _name        = func.Name;
     _arguments   = func.Arguments;
     _returnType  = func.ReturnType;
     _messagePath = messagePath.BranchFor(func);
     _description = _messagePath.Description;
     _category    = CategoryHelper.GetCategory(func.GetType());
 }