Public Types | Public Member Functions | Public Attributes | Friends | List of all members
YAML_PM::Token Struct Reference

#include <token.h>

Public Types

enum  STATUS { VALID, INVALID, UNVERIFIED }
 
enum  TYPE {
  DIRECTIVE, DOC_START, DOC_END, BLOCK_SEQ_START,
  BLOCK_MAP_START, BLOCK_SEQ_END, BLOCK_MAP_END, BLOCK_ENTRY,
  FLOW_SEQ_START, FLOW_MAP_START, FLOW_SEQ_END, FLOW_MAP_END,
  FLOW_MAP_COMPACT, FLOW_ENTRY, KEY, VALUE,
  ANCHOR, ALIAS, TAG, PLAIN_SCALAR,
  NON_PLAIN_SCALAR
}
 

Public Member Functions

 Token (TYPE type_, const Mark &mark_)
 

Public Attributes

int data
 
Mark mark
 
std::vector< std::string > params
 
STATUS status
 
TYPE type
 
std::string value
 

Friends

std::ostream & operator<< (std::ostream &out, const Token &token)
 

Detailed Description

Definition at line 39 of file token.h.

Member Enumeration Documentation

◆ STATUS

Enumerator
VALID 
INVALID 
UNVERIFIED 

Definition at line 41 of file token.h.

◆ TYPE

Enumerator
DIRECTIVE 
DOC_START 
DOC_END 
BLOCK_SEQ_START 
BLOCK_MAP_START 
BLOCK_SEQ_END 
BLOCK_MAP_END 
BLOCK_ENTRY 
FLOW_SEQ_START 
FLOW_MAP_START 
FLOW_SEQ_END 
FLOW_MAP_END 
FLOW_MAP_COMPACT 
FLOW_ENTRY 
KEY 
VALUE 
ANCHOR 
ALIAS 
TAG 
PLAIN_SCALAR 
NON_PLAIN_SCALAR 

Definition at line 42 of file token.h.

Constructor & Destructor Documentation

◆ Token()

YAML_PM::Token::Token ( TYPE  type_,
const Mark mark_ 
)
inline

Definition at line 67 of file token.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const Token token 
)
friend

Definition at line 69 of file token.h.

Member Data Documentation

◆ data

int YAML_PM::Token::data

Definition at line 81 of file token.h.

◆ mark

Mark YAML_PM::Token::mark

Definition at line 78 of file token.h.

◆ params

std::vector<std::string> YAML_PM::Token::params

Definition at line 80 of file token.h.

◆ status

STATUS YAML_PM::Token::status

Definition at line 76 of file token.h.

◆ type

TYPE YAML_PM::Token::type

Definition at line 77 of file token.h.

◆ value

std::string YAML_PM::Token::value

Definition at line 79 of file token.h.


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


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:02