ROSE  0.11.96.11
Classes | Typedefs | Enumerations
Sawyer::Document::Markup Namespace Reference

Description

A system for embedding function calls in text.

This namespace has functions for marking up text with function calls. A function call looks like @foo{arg1}{arg2}... where foo is the name of the function and its arguments are each enclosed in curly braces. A function declaration for "foo" must be inserted into the grammar before "@@foo" can be recognized.

Classes

class  Concat
 No-operation. More...
 
class  Error
 Function that generates an error message. More...
 
class  ErrorLocation
 Information about the location of an exception. More...
 
class  Eval
 Evaluate arguments a second time. More...
 
class  Function
 Base class for markup functions. More...
 
class  Grammar
 Grammar declaration. More...
 
class  IfEq
 An "if" statement. More...
 
class  Quote
 Function that quotes its arguments. More...
 
class  Reflow
 A class that can reflow and indent paragraphs. More...
 
class  StaticContent
 A function that inserts a string. More...
 
class  SyntaxError
 Syntax error when parsing markup. More...
 
class  TokenStream
 

Typedefs

typedef Lexer::Token< TokenType > Token
 

Enumerations

enum  TokenType {
  TOK_DATA,
  TOK_FUNCTION,
  TOK_LEFT,
  TOK_RIGHT,
  TOK_BLANK_LINE
}