Template Class

Definition

Class which represents a single template which can be evaluated.

public class Template
type Template = class
Public Class Template
Inheritance
Template

Remarks

Defines a data model that can easily understand and use the context for all kinds of visitors, whether it's an evaluator, static checker, analyzer, and so on.

Properties

Body

Gets or sets text format of Body of this template. All content except Name and Parameters.

Expressions

Gets expression reference list.

Name

Gets or sets name of the template, which follows '#' in a LG file.

Parameters

Gets or sets parameter list of this template.

Properties

Gets or sets properties that are not otherwise defined by the Template core type.

SourceRange

Gets or sets source range.

TemplateBodyParseTree

Gets or sets the parse tree of this template.

Methods

ToString()

Returns a string that represents the current object.

Applies to