marco 1.29.1
Window manager
Loading...
Searching...
No Matches
PosToken Struct Reference

A token, as output by the tokeniser. More...

#include <src/ui/theme.h>

Data Fields

PosTokenType type
 
union { 
 
   struct { 
 
      int   val 
 
   }   i 
 
   struct { 
 
      double   val 
 
   }   d 
 
   struct { 
 
      PosOperatorType   op 
 
   }   o 
 
   struct { 
 
      char *   name 
 
      GQuark   name_quark 
 
   }   v 
 
} d 
 

Detailed Description

A token, as output by the tokeniser.

Field Documentation

◆ [struct] [1/2]

◆ [union] [2/2]

union { ... } PosToken::d

◆ [struct]

struct { ... } PosToken::i

◆ name

◆ name_quark

GQuark PosToken::name_quark

◆ [struct]

struct { ... } PosToken::o

Referenced by pos_eval_helper(), and pos_tokenize().

◆ op

PosOperatorType PosToken::op

Referenced by pos_eval_helper(), and pos_tokenize().

◆ type

◆ [struct]

struct { ... } PosToken::v

◆ val [1/2]

int PosToken::val

◆ val [2/2]

double PosToken::val

The documentation for this struct was generated from the following file: