Esempio n. 1
0
 /// <summary>
 /// Creates an <see cref="IToken"/> that represents the range of text with the specified lexical parse data.
 /// </summary>
 /// <param name="startOffset">The start offset of the token.</param>
 /// <param name="length">The length of the token.</param>
 /// <param name="lexicalParseFlags">The <see cref="LexicalParseFlags"/> for the token.</param>
 /// <param name="parentToken">The <see cref="IToken"/> that starts the current state scope specified by the <see cref="ITokenLexicalParseData.LexicalState"/> property.</param>
 /// <param name="lexicalParseData">The <see cref="ITokenLexicalParseData"/> that contains lexical parse information about the token.</param>
 /// <returns></returns>
 public override IToken CreateToken(int startOffset, int length, LexicalParseFlags lexicalParseFlags, IToken parentToken, ITokenLexicalParseData lexicalParseData)
 {
     return new LuatToken(startOffset, length, lexicalParseFlags, parentToken, lexicalParseData);
 }
Esempio n. 2
0
		/////////////////////////////////////////////////////////////////////////////////////////////////////
		// OBJECT
		/////////////////////////////////////////////////////////////////////////////////////////////////////
		
		/// <summary>
		/// Initializes a new instance of the <c>LuatToken</c> class.
		/// </summary>
		/// <param name="startOffset">The start offset of the token.</param>
		/// <param name="length">The length of the token.</param>
		/// <param name="lexicalParseFlags">The <see cref="LexicalParseFlags"/> for the token.</param>
		/// <param name="parentToken">The <see cref="IToken"/> that starts the current state scope specified by the <see cref="IToken.LexicalState"/> property.</param>
		/// <param name="lexicalParseData">The <see cref="ITokenLexicalParseData"/> that contains lexical parse information about the token.</param>
		public LuatToken(int startOffset, int length, LexicalParseFlags lexicalParseFlags, IToken parentToken, ITokenLexicalParseData lexicalParseData) : 
			base(startOffset, length, lexicalParseFlags, parentToken, lexicalParseData) {}
Esempio n. 3
0
 /// <summary>
 /// Creates an <see cref="IToken"/> that represents the range of text with the specified lexical parse data.
 /// </summary>
 /// <param name="startOffset">The start offset of the token.</param>
 /// <param name="length">The length of the token.</param>
 /// <param name="lexicalParseFlags">The <see cref="LexicalParseFlags"/> for the token.</param>
 /// <param name="parentToken">The <see cref="IToken"/> that starts the current state scope specified by the <see cref="ITokenLexicalParseData.LexicalState"/> property.</param>
 /// <param name="lexicalParseData">The <see cref="ITokenLexicalParseData"/> that contains lexical parse information about the token.</param>
 /// <returns></returns>
 public override IToken CreateToken(int startOffset, int length, LexicalParseFlags lexicalParseFlags, IToken parentToken, ITokenLexicalParseData lexicalParseData)
 {
     return(new LuatToken(startOffset, length, lexicalParseFlags, parentToken, lexicalParseData));
 }
Esempio n. 4
0
        /////////////////////////////////////////////////////////////////////////////////////////////////////
        // OBJECT
        /////////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Initializes a new instance of the <c>LuatToken</c> class.
        /// </summary>
        /// <param name="startOffset">The start offset of the token.</param>
        /// <param name="length">The length of the token.</param>
        /// <param name="lexicalParseFlags">The <see cref="LexicalParseFlags"/> for the token.</param>
        /// <param name="parentToken">The <see cref="IToken"/> that starts the current state scope specified by the <see cref="IToken.LexicalState"/> property.</param>
        /// <param name="lexicalParseData">The <see cref="ITokenLexicalParseData"/> that contains lexical parse information about the token.</param>
        public LuatToken(int startOffset, int length, LexicalParseFlags lexicalParseFlags, IToken parentToken, ITokenLexicalParseData lexicalParseData) :
            base(startOffset, length, lexicalParseFlags, parentToken, lexicalParseData)
        {
        }