Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::lang::StlToken Struct Reference

#include <stl_token.h>

Public Member Functions

 StlToken ()=default
 StlToken (StlTokenType type, std::string lexeme, Var value, CodeLocation loc)
 ~StlToken ()=default

Public Attributes

StlTokenType type = {}
std::string lexeme = {}
Var value = {}
CodeLocation loc = {}

Constructor & Destructor Documentation

◆ StlToken() [1/2]

sen::lang::StlToken::StlToken ( )
default

◆ StlToken() [2/2]

sen::lang::StlToken::StlToken ( StlTokenType type,
std::string lexeme,
Var value,
CodeLocation loc )
inline

◆ ~StlToken()

sen::lang::StlToken::~StlToken ( )
default

Member Data Documentation

◆ type

StlTokenType sen::lang::StlToken::type = {}

◆ lexeme

std::string sen::lang::StlToken::lexeme = {}

◆ value

Var sen::lang::StlToken::value = {}

◆ loc

CodeLocation sen::lang::StlToken::loc = {}

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