예제 #1
0
파일: Tokens.cs 프로젝트: jmahmud/RDFer
 /// <summary>
 /// Creates a new Literal with Language Specifier Token
 /// </summary>
 /// <param name="lit">Literal Token</param>
 /// <param name="lang">Language Specifier Token</param>
 public LiteralWithLanguageSpecifierToken(IToken lit, LanguageSpecifierToken lang)
     : base(Token.LITERALWITHLANG, lit.Value, lit.StartLine, lit.EndLine, lit.StartPosition, lit.EndPosition)
 {
     this._lang = lang.Value;
 }
예제 #2
0
 /// <summary>
 /// Creates a new Literal with Language Specifier Token
 /// </summary>
 /// <param name="lit">Literal Token</param>
 /// <param name="lang">Language Specifier Token</param>
 public LiteralWithLanguageSpecifierToken(IToken lit, LanguageSpecifierToken lang)
     : base(Token.LITERALWITHLANG, lit.Value, lit.StartLine, lit.EndLine, lit.StartPosition, lit.EndPosition)
 {
     this._lang = lang.Value;
 }