Loyc.Syntax.LNodeFactory.Trivia C# (CSharp) Method

Trivia() public method

Creates a trivia node with the specified Value attached.
public Trivia ( Symbol name, object value, int startIndex = -1, int endIndex = -1 ) : LNode
name Symbol
value object
startIndex int
endIndex int
return LNode
		public LNode Trivia(Symbol name, object value, int startIndex = -1, int endIndex = -1)
		{
			return LNode.Trivia(name, value, new SourceRange(_file, startIndex, endIndex - startIndex));
		}

Same methods

LNodeFactory::Trivia ( string suffix, object value ) : LNode