idTech4.Text.idLexer.SkipBracedSection C# (CSharp) Method

SkipBracedSection() public method

Skips until a matching close brace is found.
public SkipBracedSection ( ) : bool
return bool
		public bool SkipBracedSection()
		{
			return SkipBracedSection(true);
		}

Same methods

idLexer::SkipBracedSection ( bool parseFirstBrace ) : bool

Usage Example

Example #1
0
		public virtual bool Parse(string text)
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			idLexer lexer = new idLexer(idDeclFile.LexerOptions);
			lexer.LoadMemory(text, this.FileName, this.LineNumber);
			lexer.SkipUntilString("{");
			lexer.SkipBracedSection(false);

			return true;
		}
All Usage Examples Of idTech4.Text.idLexer::SkipBracedSection