Scanner.cpp File Reference
#include <ctype.h>
#include <string.h>
#include "RexxCore.h"
#include "StringClass.hpp"
#include "ArrayClass.hpp"
#include "SourceFile.hpp"
Include dependency graph for Scanner.cpp:

Go to the source code of this file.

Macros

#define HIGHEST_PRECEDENCE   100
 
#define GETCHAR()   ((unsigned char)(this->current[this->line_offset]))
 
#define MORELINE()   (this->line_offset < this->current_length)
 
#define OPERATOR(op)   (this->clause->newToken(TOKEN_OPERATOR, OPERATOR_##op, (RexxString *)OREF_##op, location))
 
#define CHECK_ASSIGNMENT(op, token)   (token->checkAssignment(this, (RexxString *)OREF_ASSIGNMENT_##op))
 
#define EXP_START   0
 
#define EXP_EXCLUDED   1
 
#define EXP_DIGIT   2
 
#define EXP_SPOINT   3
 
#define EXP_POINT   4
 
#define EXP_E   5
 
#define EXP_ESIGN   6
 
#define EXP_EDIGIT   7
 
#define AFTER_INTEGER   8
 
#define AFTER_NUMBER   9
 

Macro Definition Documentation

◆ AFTER_INTEGER

#define AFTER_INTEGER   8

◆ AFTER_NUMBER

#define AFTER_NUMBER   9

◆ CHECK_ASSIGNMENT

#define CHECK_ASSIGNMENT (   op,
  token 
)    (token->checkAssignment(this, (RexxString *)OREF_ASSIGNMENT_##op))

Definition at line 199 of file Scanner.cpp.

◆ EXP_DIGIT

#define EXP_DIGIT   2

◆ EXP_E

#define EXP_E   5

◆ EXP_EDIGIT

#define EXP_EDIGIT   7

◆ EXP_ESIGN

#define EXP_ESIGN   6

◆ EXP_EXCLUDED

#define EXP_EXCLUDED   1

◆ EXP_POINT

#define EXP_POINT   4

◆ EXP_SPOINT

#define EXP_SPOINT   3

◆ EXP_START

#define EXP_START   0

◆ GETCHAR

#define GETCHAR ( )    ((unsigned char)(this->current[this->line_offset]))

Definition at line 196 of file Scanner.cpp.

◆ HIGHEST_PRECEDENCE

#define HIGHEST_PRECEDENCE   100

Definition at line 51 of file Scanner.cpp.

◆ MORELINE

#define MORELINE ( )    (this->line_offset < this->current_length)

Definition at line 197 of file Scanner.cpp.

◆ OPERATOR

#define OPERATOR (   op)    (this->clause->newToken(TOKEN_OPERATOR, OPERATOR_##op, (RexxString *)OREF_##op, location))

Definition at line 198 of file Scanner.cpp.