m2isar.frontends.coredsl2.parser_gen.CoreDSL2Parser
Classes
Functions
Module Contents
- class CoreDSL2Parser(input: TokenStream, output: TextIO = sys.stdout)[source]
Bases:
Parser
- literalNames = ['<INVALID>', "'import'", "'InstructionSet'", "'extends'", "','", "'{'", "'}'", "'Core'",...[source]
- symbolicNames = ['<INVALID>', '<INVALID>', '<INVALID>', '<INVALID>', '<INVALID>', '<INVALID>', '<INVALID>',...[source]
- ruleNames = ['description_content', 'import_file', 'isa', 'section', 'always_block', 'instruction',...[source]
- class Description_contentContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Import_fileContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class IsaContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Instruction_setContext(parser, ctx: ParserRuleContext)[source]
Bases:
IsaContext
- class Core_defContext(parser, ctx: ParserRuleContext)[source]
Bases:
IsaContext
- class SectionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Section_instructionsContext(parser, ctx: ParserRuleContext)[source]
Bases:
SectionContext
- class Section_alwaysContext(parser, ctx: ParserRuleContext)[source]
Bases:
SectionContext
- class Section_functionsContext(parser, ctx: ParserRuleContext)[source]
Bases:
SectionContext
- class Section_arch_stateContext(parser, ctx: ParserRuleContext)[source]
Bases:
SectionContext
- class Always_blockContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class InstructionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Rule_encodingContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Encoding_entryContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Bit_fieldContext(parser, ctx: ParserRuleContext)[source]
Bases:
Encoding_entryContext
- class Bit_valueContext(parser, ctx: ParserRuleContext)[source]
Bases:
Encoding_entryContext
- class Function_definitionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Parameter_listContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Parameter_declarationContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class StatementContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class For_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Spawn_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Continue_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Expression_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class If_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Procedure_callContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class While_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Switch_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Block_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Do_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Break_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Return_statementContext(parser, ctx: ParserRuleContext)[source]
Bases:
StatementContext
- class Switch_block_statement_groupContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Switch_labelContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class BlockContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Block_itemContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class For_conditionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class DeclarationContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Type_specifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Value_type_specifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Composite_declarationContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Composite_referenceContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Enum_declarationContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Void_typeContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Enum_referenceContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Float_typeContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Bool_typeContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Integer_typeContext(parser, ctx: ParserRuleContext)[source]
Bases:
Value_type_specifierContext
- class Integer_signednessContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Integer_shorthandContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Float_shorthandContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class AttributeContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Bit_size_specifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Enumerator_listContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class EnumeratorContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Struct_declarationContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Struct_declaration_specifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class DeclaratorContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class InitializerContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class InitializerListContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Designated_initializerContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class DesignatorContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class ExpressionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Cast_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Binary_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Preinc_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Conditional_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Deref_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Prefix_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Postinc_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Concat_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Assignment_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Method_callContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Primary_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class Slice_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
ExpressionContext
- class PrimaryContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Reference_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
PrimaryContext
- class Constant_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
PrimaryContext
- class Literal_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
PrimaryContext
- class Parens_expressionContext(parser, ctx: ParserRuleContext)[source]
Bases:
PrimaryContext
- class String_literalContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class ConstantContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Integer_constantContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Floating_constantContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Bool_constantContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Character_constantContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Double_left_bracketContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Double_right_bracketContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Data_typesContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Type_qualifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Storage_class_specifierContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- class Struct_or_unionContext(parser, parent: ParserRuleContext = None, invokingState: int = -1)[source]
Bases:
ParserRuleContext
- expression_sempred(localctx: ExpressionContext, predIndex: int)[source]