Public Types | Public Member Functions | Public Attributes | Friends
YAML_PM::Token Struct Reference

#include <token.h>

List of all members.

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

Enumerator:
VALID 
INVALID 
UNVERIFIED 

Definition at line 41 of file token.h.

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

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

Definition at line 67 of file token.h.


Friends And Related Function Documentation

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

Definition at line 69 of file token.h.


Member Data Documentation

Definition at line 81 of file token.h.

Definition at line 78 of file token.h.

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

Definition at line 80 of file token.h.

Definition at line 76 of file token.h.

Definition at line 77 of file token.h.

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:


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:44