Veil.SuperSimple.SuperSimpleTemplateParserState.GetParentBlock C# (CSharp) Method

GetParentBlock() public method

public GetParentBlock ( ) : SyntaxTreeNode
return Veil.Parser.SyntaxTreeNode
        public SyntaxTreeNode GetParentBlock()
        {
            if (this.scopeStack.Count < 2) return null;

            return this.scopeStack.First.Next.Value.Block.LastNode();
        }