Unit CastleScriptLexer

Description

Lexer for CastleScript language, see [https://castle-engine.io/castle_script.php].

For specification of tokens that this lexer understands, see documentation of CastleScriptParser unit.

Source: castlescript/castlescriptlexer.pas (line 22).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCasScriptLexer  
Class ECasScriptSyntaxError A common class for ECasScriptLexerError and ECasScriptParserError
Class ECasScriptLexerError  
Class ECasScriptParserError  

Types

TToken = (...);

Description

Types

TToken = (...);

This item has no description.

Values
  • tokEnd
  • tokInteger: Value of constant integer will be in w TCasScriptLexer.TokenInteger.
  • tokFloat: Value of constant float will be in w TCasScriptLexer.TokenFloat.
  • tokBoolean: Value of constant boolean will be in w TCasScriptLexer.TokenBoolean.
  • tokString: Value of constant string will be in w TCasScriptLexer.TokenString.
  • tokIdentifier: Identifier will be in TCasScriptLexer.TokenString.
  • tokFuncName: Function class of given function will be in TCasScriptLexer.TokenFunctionClass.
  • tokFunctionKeyword
  • tokMinus
  • tokPlus
  • tokMultiply
  • tokFloatDivide
  • tokIntDivide
  • tokPower
  • tokModulo
  • tokGreater
  • tokLesser
  • tokGreaterEqual
  • tokLesserEqual
  • tokEqual
  • tokNotEqual
  • tokLParen
  • tokRParen
  • tokLQaren
  • tokRQaren
  • tokComma
  • tokSemicolon
  • tokAssignment

Source: castlescript/castlescriptlexer.pas (line 31).


Generated by PasDoc 0.17.0.snapshot.