Show / Hide Table of Contents

Class ParsedTemplate

Inheritance
System.Object
ParsedTemplate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Mono.TextTemplating
Assembly: cs.temp.dll.dll
Syntax
public class ParsedTemplate

Constructors

ParsedTemplate(String)

Declaration
public ParsedTemplate(string rootFileName)
Parameters
Type Name Description
System.String rootFileName

Properties

Content

Declaration
public IEnumerable<TemplateSegment> Content { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<TemplateSegment>

Directives

Declaration
public IEnumerable<Directive> Directives { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Directive>

Errors

Declaration
public CompilerErrorCollection Errors { get; }
Property Value
Type Description
CompilerErrorCollection

RawSegments

Declaration
public List<ISegment> RawSegments { get; }
Property Value
Type Description
System.Collections.Generic.List<ISegment>

Methods

FromText(String, ITextTemplatingEngineHost)

Declaration
public static ParsedTemplate FromText(string content, ITextTemplatingEngineHost host)
Parameters
Type Name Description
System.String content
ITextTemplatingEngineHost host
Returns
Type Description
ParsedTemplate

LogError(String)

Declaration
public void LogError(string message)
Parameters
Type Name Description
System.String message

LogError(String, Location)

Declaration
public void LogError(string message, Location location)
Parameters
Type Name Description
System.String message
Location location

LogWarning(String)

Declaration
public void LogWarning(string message)
Parameters
Type Name Description
System.String message

LogWarning(String, Location)

Declaration
public void LogWarning(string message, Location location)
Parameters
Type Name Description
System.String message
Location location

Parse(ITextTemplatingEngineHost, Tokeniser)

Declaration
public void Parse(ITextTemplatingEngineHost host, Tokeniser tokeniser)
Parameters
Type Name Description
ITextTemplatingEngineHost host
Tokeniser tokeniser

ParseWithoutIncludes(Tokeniser)

Declaration
public void ParseWithoutIncludes(Tokeniser tokeniser)
Parameters
Type Name Description
Tokeniser tokeniser
In This Article
Back to top Copyright FasterGames ©