NVelocity.Runtime.RuntimeSingleton.Parse C# (CSharp) Method

Parse() public static method

Parse the input and return the root of AST node structure.
In the event that it runs out of parsers in the pool, it will create and let them be GC'd dynamically, logging that it has to do that. This is considered an exceptional condition. It is expected that the user will set the PARSER_POOL_SIZE property appropriately for their application. We will revisit this.
public static Parse ( TextReader reader, String templateName ) : NVelocity.Runtime.Parser.Node.SimpleNode
reader System.IO.TextReader TextReader retrieved by a resource loader
templateName String name of the template being parsed
return NVelocity.Runtime.Parser.Node.SimpleNode
        public static SimpleNode Parse(TextReader reader, String templateName)
        {
            return ri.Parse(reader, templateName);
        }

Same methods

RuntimeSingleton::Parse ( TextReader reader, String templateName, bool dumpNamespace ) : NVelocity.Runtime.Parser.Node.SimpleNode