MediaWiki REL1_31
ExprParser.php File Reference

Go to the source code of this file.

Classes

class  ExprParser
 

Variables

const EXPR_ABS 31
 
const EXPR_AND 12
 
const EXPR_ARCCOS 27
 
const EXPR_ARCSINE 26
 
const EXPR_ARCTAN 28
 
const EXPR_CEIL 34
 
const EXPR_CLOSE 11
 
const EXPR_COSINE 24
 
const EXPR_DIVIDE 8
 
const EXPR_EQUALITY 15
 
const EXPR_EXP 29
 
const EXPR_EXPONENT 22
 
const EXPR_FLOOR 32
 
const EXPR_FMOD 37
 
const EXPR_GREATER 17
 
const EXPR_GREATEREQ 19
 
const EXPR_LESS 16
 
const EXPR_LESSEQ 18
 
const EXPR_LN 30
 
const EXPR_MINUS 6
 
const EXPR_MOD 9
 
const EXPR_NEGATIVE 3
 
const EXPR_NOT 14
 
const EXPR_NOTEQ 20
 
const EXPR_NUMBER 2
 
const EXPR_NUMBER_CLASS '0123456789.'
 
const EXPR_OPEN 10
 
const EXPR_OR 13
 
const EXPR_PI 36
 
const EXPR_PLUS 5
 
const EXPR_POSITIVE 4
 
const EXPR_POW 35
 
const EXPR_ROUND 21
 
const EXPR_SINE 23
 
const EXPR_SQRT 38
 
const EXPR_TANGENS 25
 
const EXPR_TIMES 7
 
const EXPR_TRUNC 33
 
const EXPR_WHITE 1
 
const EXPR_WHITE_CLASS " \t\r\n"
 

Variable Documentation

◆ EXPR_ABS

const EXPR_ABS 31

Definition at line 56 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_AND

const EXPR_AND 12

Definition at line 37 of file ExprParser.php.

Referenced by ExprParser\doOperation().

◆ EXPR_ARCCOS

const EXPR_ARCCOS 27

Definition at line 52 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_ARCSINE

const EXPR_ARCSINE 26

Definition at line 51 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_ARCTAN

const EXPR_ARCTAN 28

Definition at line 53 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_CEIL

const EXPR_CEIL 34

Definition at line 59 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_CLOSE

const EXPR_CLOSE 11

Definition at line 36 of file ExprParser.php.

◆ EXPR_COSINE

const EXPR_COSINE 24

Definition at line 49 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_DIVIDE

const EXPR_DIVIDE 8

Definition at line 33 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_EQUALITY

const EXPR_EQUALITY 15

Definition at line 40 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_EXP

const EXPR_EXP 29

Definition at line 54 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_EXPONENT

const EXPR_EXPONENT 22

Definition at line 47 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_FLOOR

const EXPR_FLOOR 32

Definition at line 57 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_FMOD

const EXPR_FMOD 37

Definition at line 62 of file ExprParser.php.

Referenced by ExprParser\doOperation().

◆ EXPR_GREATER

const EXPR_GREATER 17

Definition at line 42 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_GREATEREQ

const EXPR_GREATEREQ 19

Definition at line 44 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_LESS

const EXPR_LESS 16

Definition at line 41 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_LESSEQ

const EXPR_LESSEQ 18

Definition at line 43 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_LN

const EXPR_LN 30

Definition at line 55 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_MINUS

const EXPR_MINUS 6

Definition at line 31 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_MOD

const EXPR_MOD 9

Definition at line 34 of file ExprParser.php.

Referenced by ExprParser\doOperation().

◆ EXPR_NEGATIVE

const EXPR_NEGATIVE 3

Definition at line 28 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_NOT

const EXPR_NOT 14

Definition at line 39 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_NOTEQ

const EXPR_NOTEQ 20

Definition at line 45 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_NUMBER

const EXPR_NUMBER 2

Definition at line 27 of file ExprParser.php.

◆ EXPR_NUMBER_CLASS

const EXPR_NUMBER_CLASS '0123456789.'

Definition at line 23 of file ExprParser.php.

Referenced by ExprParser\doExpression().

◆ EXPR_OPEN

const EXPR_OPEN 10

Definition at line 35 of file ExprParser.php.

Referenced by ExprParser\doExpression().

◆ EXPR_OR

const EXPR_OR 13

Definition at line 38 of file ExprParser.php.

Referenced by ExprParser\doOperation().

◆ EXPR_PI

const EXPR_PI 36

Definition at line 61 of file ExprParser.php.

Referenced by ExprParser\doExpression().

◆ EXPR_PLUS

const EXPR_PLUS 5

Definition at line 30 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_POSITIVE

const EXPR_POSITIVE 4

Definition at line 29 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_POW

const EXPR_POW 35

Definition at line 60 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_ROUND

const EXPR_ROUND 21

Definition at line 46 of file ExprParser.php.

Referenced by ExprParser\doOperation().

◆ EXPR_SINE

const EXPR_SINE 23

Definition at line 48 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_SQRT

const EXPR_SQRT 38

Definition at line 63 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_TANGENS

const EXPR_TANGENS 25

Definition at line 50 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_TIMES

const EXPR_TIMES 7

Definition at line 32 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_TRUNC

const EXPR_TRUNC 33

Definition at line 58 of file ExprParser.php.

Referenced by ExprParser\doExpression(), and ExprParser\doOperation().

◆ EXPR_WHITE

const EXPR_WHITE 1

Definition at line 26 of file ExprParser.php.

◆ EXPR_WHITE_CLASS

const EXPR_WHITE_CLASS " \t\r\n"

Definition at line 22 of file ExprParser.php.

Referenced by ExprParser\doExpression().