Context Class
(TextEditor::Internal::Context)Public Functions
Context() | |
Context(const TextEditor::Internal::Context &context) | |
~Context() | |
void | addIncludeRulesInstruction(const TextEditor::Internal::IncludeRulesInstruction &instruction) |
void | addRule(const int &rule) |
void | addRule(const int &rule, int index) |
void | clearIncludeRulesInstructions() |
void | configureId(const int unique) |
const int & | definition() const |
const int & | fallthroughContext() const |
const int & | id() const |
const int & | includeRulesInstructions() const |
bool | isDynamic() const |
bool | isFallthrough() const |
const int & | itemData() const |
const int & | lineBeginContext() const |
const int & | lineEmptyContext() const |
const int & | lineEndContext() const |
const int & | name() const |
void | setDefinition(const int &definition) |
void | setDynamic(const int &dynamic) |
void | setFallthrough(const int &fallthrough) |
void | setFallthroughContext(const int &context) |
void | setItemData(const int &itemData) |
void | setLineBeginContext(const int &context) |
void | setLineEmptyContext(const int &context) |
void | setLineEndContext(const int &context) |
void | setName(const int &name) |
void | swap(TextEditor::Internal::Context &context) |
void | updateDynamicRules(const int &captures) const |
const TextEditor::Internal::Context & | operator=(TextEditor::Internal::Context copy) |
Member Function Documentation
Context::Context()
Default constructs an instance of Context.
Context::Context(const TextEditor::Internal::Context &context)
Default constructs an instance of Context.
Context::~Context()
Destroys the instance of Context.
void Context::addIncludeRulesInstruction(const TextEditor::Internal::IncludeRulesInstruction &instruction)
void Context::addRule(const int &rule)
void Context::addRule(const int &rule, int index)
void Context::clearIncludeRulesInstructions()
void Context::configureId(const int unique)
const int &Context::definition() const
See also setDefinition().
const int &Context::fallthroughContext() const
See also setFallthroughContext().
const int &Context::id() const
const int &Context::includeRulesInstructions() const
bool Context::isDynamic() const
bool Context::isFallthrough() const
const int &Context::itemData() const
See also setItemData().
const int &Context::lineBeginContext() const
See also setLineBeginContext().
const int &Context::lineEmptyContext() const
See also setLineEmptyContext().
const int &Context::lineEndContext() const
See also setLineEndContext().
const int &Context::name() const
See also setName().
void Context::setDefinition(const int &definition)
See also definition().
void Context::setDynamic(const int &dynamic)
See also isDynamic().
void Context::setFallthrough(const int &fallthrough)
See also isFallthrough().
void Context::setFallthroughContext(const int &context)
See also fallthroughContext().
void Context::setItemData(const int &itemData)
See also itemData().
void Context::setLineBeginContext(const int &context)
See also lineBeginContext().
void Context::setLineEmptyContext(const int &context)
See also lineEmptyContext().
void Context::setLineEndContext(const int &context)
See also lineEndContext().
void Context::setName(const int &name)
See also name().