Exemple #1
0
 /// <summary>
 /// Creates a new Literal with DataType Token
 /// </summary>
 /// <param name="lit">Literal Token</param>
 /// <param name="dt">DataType Token</param>
 public LiteralWithDataTypeToken(IToken lit, DataTypeToken dt)
     : base(Token.LITERALWITHDT, lit.Value, lit.StartLine, lit.EndLine, lit.StartPosition, lit.EndPosition)
 {
     this._datatype = dt.Value;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new Literal with DataType Token
 /// </summary>
 /// <param name="lit">Literal Token</param>
 /// <param name="dt">DataType Token</param>
 public LiteralWithDataTypeToken(IToken lit, DataTypeToken dt) : base(Token.LITERALWITHDT, lit.Value, lit.StartLine, lit.EndLine, lit.StartPosition, lit.EndPosition)
 {
     this._datatype = dt.Value;
 }