expressir 0.2.4 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.cross_rubies +30 -0
- data/.github/workflows/rake.yml +14 -15
- data/.github/workflows/release.yml +26 -17
- data/.gitignore +3 -1
- data/Gemfile +0 -2
- data/Rakefile +2 -17
- data/expressir.gemspec +10 -5
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/CMakeLists.txt +118 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2013.vcxproj +637 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2013.vcxproj.filters +984 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2015.vcxproj +652 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2015.vcxproj.filters +990 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2017.vcxproj +652 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2017.vcxproj.filters +990 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2019.vcxproj +652 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlr4cpp-vs2019.vcxproj.filters +990 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp-ios/Info.plist +26 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp-ios/antlrcpp_ios.h +17 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/project.pbxproj +3024 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata/xcschemes/antlr4.xcscheme +76 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata/xcschemes/antlr4_ios.xcscheme +80 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/antlrcpp.xcodeproj/xcshareddata/xcschemes/antlr4_static.xcscheme +80 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRErrorListener.cpp +10 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRErrorListener.h +167 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRErrorStrategy.cpp +10 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRErrorStrategy.h +121 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRFileStream.cpp +34 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRFileStream.h +27 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRInputStream.cpp +155 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ANTLRInputStream.h +69 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BailErrorStrategy.cpp +61 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BailErrorStrategy.h +59 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BaseErrorListener.cpp +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BaseErrorListener.h +36 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BufferedTokenStream.cpp +414 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/BufferedTokenStream.h +200 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CharStream.cpp +11 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CharStream.h +37 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonToken.cpp +195 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonToken.h +158 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonTokenFactory.cpp +39 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonTokenFactory.h +74 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonTokenStream.cpp +78 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/CommonTokenStream.h +79 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ConsoleErrorListener.cpp +15 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ConsoleErrorListener.h +35 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp +333 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/DefaultErrorStrategy.h +466 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/DiagnosticErrorListener.cpp +84 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/DiagnosticErrorListener.h +80 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Exceptions.cpp +64 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Exceptions.h +99 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/FailedPredicateException.cpp +51 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/FailedPredicateException.h +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/InputMismatchException.cpp +18 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/InputMismatchException.h +24 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/IntStream.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/IntStream.h +218 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/InterpreterRuleContext.cpp +19 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/InterpreterRuleContext.h +45 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Lexer.cpp +295 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Lexer.h +196 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/LexerInterpreter.cpp +75 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/LexerInterpreter.h +52 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/LexerNoViableAltException.cpp +36 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/LexerNoViableAltException.h +31 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ListTokenSource.cpp +92 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ListTokenSource.h +88 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/NoViableAltException.cpp +46 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/NoViableAltException.h +42 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Parser.cpp +648 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Parser.h +467 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ParserInterpreter.cpp +306 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ParserInterpreter.h +179 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ParserRuleContext.cpp +141 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ParserRuleContext.h +147 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ProxyErrorListener.cpp +53 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/ProxyErrorListener.h +38 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RecognitionException.cpp +66 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RecognitionException.h +98 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Recognizer.cpp +167 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Recognizer.h +164 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuleContext.cpp +143 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuleContext.h +137 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuleContextWithAltNum.cpp +27 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuleContextWithAltNum.h +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuntimeMetaData.cpp +53 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/RuntimeMetaData.h +155 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Token.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Token.h +92 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenFactory.h +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenSource.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenSource.h +85 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenStream.cpp +11 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenStream.h +137 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenStreamRewriter.cpp +425 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/TokenStreamRewriter.h +293 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/UnbufferedCharStream.cpp +211 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/UnbufferedCharStream.h +123 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/UnbufferedTokenStream.cpp +270 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/UnbufferedTokenStream.h +115 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Vocabulary.cpp +104 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/Vocabulary.h +193 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/WritableToken.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/WritableToken.h +23 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/antlr4-common.h +137 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/antlr4-runtime.h +167 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATN.cpp +209 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATN.h +112 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNConfig.cpp +113 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNConfig.h +148 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNConfigSet.cpp +228 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNConfigSet.h +110 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.cpp +64 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.h +50 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializer.cpp +758 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNDeserializer.h +85 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNSerializer.cpp +621 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNSerializer.h +61 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNSimulator.cpp +63 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNSimulator.h +87 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNState.cpp +72 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNState.h +133 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ATNType.h +20 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.cpp +14 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.h +24 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ActionTransition.cpp +33 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ActionTransition.h +33 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AmbiguityInfo.cpp +16 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AmbiguityInfo.h +68 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.cpp +82 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.h +43 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AtomTransition.cpp +31 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/AtomTransition.h +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BasicBlockStartState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BasicBlockStartState.h +22 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BasicState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BasicState.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BlockEndState.cpp +15 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BlockEndState.h +24 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BlockStartState.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/BlockStartState.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.cpp +14 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.h +47 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionEventInfo.cpp +14 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionEventInfo.h +70 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionInfo.cpp +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionInfo.h +227 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionState.cpp +17 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/DecisionState.h +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.cpp +35 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.h +27 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/EpsilonTransition.cpp +35 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/EpsilonTransition.h +39 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ErrorInfo.cpp +15 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ErrorInfo.h +43 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LL1Analyzer.cpp +158 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LL1Analyzer.h +109 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerATNConfig.cpp +84 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerATNConfig.h +44 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerATNSimulator.cpp +628 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerATNSimulator.h +210 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerAction.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerAction.h +66 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp +107 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerActionExecutor.h +115 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerActionType.h +55 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerChannelAction.cpp +55 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerChannelAction.h +63 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerCustomAction.cpp +62 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerCustomAction.h +87 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.cpp +63 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.h +82 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerModeAction.cpp +56 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerModeAction.h +61 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp +47 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerMoreAction.h +57 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerPopModeAction.cpp +47 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerPopModeAction.h +57 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerPushModeAction.cpp +56 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerPushModeAction.h +61 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp +47 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerSkipAction.h +55 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerTypeAction.cpp +56 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LexerTypeAction.h +55 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.cpp +16 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.h +42 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LoopEndState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/LoopEndState.h +22 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/Makefile +67 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/NotSetTransition.cpp +27 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/NotSetTransition.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.h +20 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ParseInfo.cpp +102 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ParseInfo.h +102 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ParserATNSimulator.cpp +1366 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ParserATNSimulator.h +904 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PlusBlockStartState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PlusBlockStartState.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PlusLoopbackState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PlusLoopbackState.h +22 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.cpp +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.h +29 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.cpp +17 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.h +62 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredicateTransition.cpp +34 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredicateTransition.h +39 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredictionContext.cpp +662 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredictionContext.h +254 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredictionMode.cpp +201 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/PredictionMode.h +436 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp +179 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.h +60 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RangeTransition.cpp +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RangeTransition.h +29 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleStartState.cpp +16 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleStartState.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleStopState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleStopState.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleTransition.cpp +37 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/RuleTransition.h +40 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SemanticContext.cpp +377 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SemanticContext.h +222 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SetTransition.cpp +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SetTransition.h +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.cpp +81 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.h +36 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarBlockStartState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarBlockStartState.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarLoopEntryState.cpp +15 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarLoopEntryState.h +35 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarLoopbackState.cpp +19 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/StarLoopbackState.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/TokensStartState.cpp +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/TokensStartState.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/Transition.cpp +44 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/Transition.h +76 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/WildcardTransition.cpp +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/atn/WildcardTransition.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFA.cpp +127 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFA.h +91 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFASerializer.cpp +67 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFASerializer.h +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFAState.cpp +100 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/DFAState.h +144 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp +20 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.h +23 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/InterpreterDataReader.cpp +124 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/InterpreterDataReader.h +31 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/Interval.cpp +89 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/Interval.h +84 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/IntervalSet.cpp +521 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/IntervalSet.h +198 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/MurmurHash.cpp +134 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/MurmurHash.h +76 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/Predicate.cpp +4 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/misc/Predicate.h +21 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/Any.cpp +13 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/Any.h +170 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/Arrays.cpp +43 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/Arrays.h +110 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/BitSet.h +76 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/CPPUtils.cpp +248 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/CPPUtils.h +78 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/Declarations.h +163 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/StringUtils.cpp +36 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/StringUtils.h +54 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/guid.cpp +303 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/support/guid.h +112 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/AbstractParseTreeVisitor.h +128 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ErrorNode.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ErrorNode.h +19 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.cpp +23 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.h +33 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.cpp +71 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.h +53 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTree.cpp +15 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTree.h +102 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeListener.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeListener.h +39 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeProperty.h +50 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.h +57 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeWalker.cpp +49 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/ParseTreeWalker.h +31 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/TerminalNode.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/TerminalNode.h +32 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.cpp +57 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.h +33 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/Trees.cpp +241 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/Trees.h +78 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/Chunk.cpp +9 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/Chunk.h +44 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.cpp +69 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.h +132 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.cpp +64 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.h +105 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.cpp +371 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.h +185 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.cpp +77 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.h +117 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TagChunk.cpp +39 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TagChunk.h +86 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TextChunk.cpp +28 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TextChunk.h +51 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.cpp +36 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.h +80 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPath.cpp +154 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPath.h +86 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathElement.cpp +31 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathElement.h +40 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.cpp +173 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.g4 +64 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.h +56 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.tokens +12 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.cpp +13 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.h +22 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp +20 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.h +27 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.cpp +30 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.h +26 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp +20 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.h +25 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.cpp +33 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.h +26 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp +23 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.h +23 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.cpp +24 -0
- data/ext/express-parser/antlr4-upstream/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.h +23 -0
- data/ext/express-parser/express_parser.cpp +12 -10
- data/ext/express-parser/extconf.rb +48 -25
- data/lib/expressir/express_exp/formatter.rb +3 -7
- data/lib/expressir/express_exp/parser.rb +20 -2
- data/lib/expressir/express_exp/visitor.rb +106 -55
- data/lib/expressir/model.rb +1 -0
- data/lib/expressir/model/entity.rb +3 -0
- data/lib/expressir/model/expressions/query_expression.rb +2 -2
- data/lib/expressir/model/identifier.rb +2 -0
- data/lib/expressir/model/informal_proposition.rb +11 -0
- data/lib/expressir/model/rule.rb +3 -0
- data/lib/expressir/model/schema.rb +2 -0
- data/lib/expressir/model/scope.rb +52 -3
- data/lib/expressir/model/type.rb +8 -0
- data/lib/expressir/version.rb +1 -1
- data/original/examples/syntax/remark.exp +64 -20
- data/original/examples/syntax/remark_formatted.exp +63 -19
- data/original/examples/syntax/source.exp +16 -0
- data/original/examples/syntax/syntax.exp +6 -1
- data/original/examples/syntax/syntax_formatted.exp +13 -0
- data/rakelib/cross-ruby.rake +308 -0
- data/spec/expressir/express_exp/head_source_spec.rb +41 -0
- data/spec/expressir/express_exp/parse_multiple_spec.rb +32 -0
- data/spec/expressir/express_exp/parse_remark_spec.rb +119 -53
- data/spec/expressir/express_exp/parse_syntax_spec.rb +47 -2
- data/spec/expressir/express_exp/source_spec.rb +32 -0
- data/spec/expressir/model/find_spec.rb +19 -6
- metadata +369 -23
data/lib/expressir/model.rb
CHANGED
|
@@ -6,6 +6,7 @@ require 'expressir/model/constant'
|
|
|
6
6
|
require 'expressir/model/entity'
|
|
7
7
|
require 'expressir/model/enumeration_item'
|
|
8
8
|
require 'expressir/model/function'
|
|
9
|
+
require 'expressir/model/informal_proposition'
|
|
9
10
|
require 'expressir/model/interface'
|
|
10
11
|
require 'expressir/model/parameter'
|
|
11
12
|
require 'expressir/model/procedure'
|
|
@@ -10,6 +10,7 @@ module Expressir
|
|
|
10
10
|
attr_accessor :attributes
|
|
11
11
|
attr_accessor :unique
|
|
12
12
|
attr_accessor :where
|
|
13
|
+
attr_accessor :informal_propositions
|
|
13
14
|
|
|
14
15
|
def initialize(options = {})
|
|
15
16
|
@id = options[:id]
|
|
@@ -20,6 +21,7 @@ module Expressir
|
|
|
20
21
|
@attributes = options[:attributes]
|
|
21
22
|
@unique = options[:unique]
|
|
22
23
|
@where = options[:where]
|
|
24
|
+
@informal_propositions = options[:informal_propositions]
|
|
23
25
|
end
|
|
24
26
|
|
|
25
27
|
def explicit_attributes
|
|
@@ -39,6 +41,7 @@ module Expressir
|
|
|
39
41
|
items.push(*@attributes) if @attributes
|
|
40
42
|
items.push(*@unique) if @unique
|
|
41
43
|
items.push(*@where) if @where
|
|
44
|
+
items.push(*@informal_propositions) if @informal_propositions
|
|
42
45
|
items
|
|
43
46
|
end
|
|
44
47
|
end
|
|
@@ -5,13 +5,13 @@ module Expressir
|
|
|
5
5
|
include Scope
|
|
6
6
|
include Identifier
|
|
7
7
|
|
|
8
|
-
attr_accessor :
|
|
8
|
+
attr_accessor :aggregate_source
|
|
9
9
|
attr_accessor :expression
|
|
10
10
|
|
|
11
11
|
def initialize(options = {})
|
|
12
12
|
@id = options[:id]
|
|
13
13
|
|
|
14
|
-
@
|
|
14
|
+
@aggregate_source = options[:aggregate_source]
|
|
15
15
|
@expression = options[:expression]
|
|
16
16
|
end
|
|
17
17
|
|
data/lib/expressir/model/rule.rb
CHANGED
|
@@ -10,6 +10,7 @@ module Expressir
|
|
|
10
10
|
attr_accessor :variables
|
|
11
11
|
attr_accessor :statements
|
|
12
12
|
attr_accessor :where
|
|
13
|
+
attr_accessor :informal_propositions
|
|
13
14
|
|
|
14
15
|
def initialize(options = {})
|
|
15
16
|
@id = options[:id]
|
|
@@ -20,6 +21,7 @@ module Expressir
|
|
|
20
21
|
@variables = options[:variables]
|
|
21
22
|
@statements = options[:statements]
|
|
22
23
|
@where = options[:where]
|
|
24
|
+
@informal_propositions = options[:informal_propositions]
|
|
23
25
|
end
|
|
24
26
|
|
|
25
27
|
def types
|
|
@@ -55,6 +57,7 @@ module Expressir
|
|
|
55
57
|
items.push(*@constants) if @constants
|
|
56
58
|
items.push(*@variables) if @variables
|
|
57
59
|
items.push(*@where) if @where
|
|
60
|
+
items.push(*@informal_propositions) if @informal_propositions
|
|
58
61
|
items
|
|
59
62
|
end
|
|
60
63
|
end
|
|
@@ -1,11 +1,60 @@
|
|
|
1
1
|
module Expressir
|
|
2
2
|
module Model
|
|
3
3
|
module Scope
|
|
4
|
+
attr_accessor :source
|
|
5
|
+
|
|
4
6
|
def find(path)
|
|
5
|
-
path.
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
current_path, _, rest = path.partition(".")
|
|
8
|
+
|
|
9
|
+
# ignore prefix
|
|
10
|
+
_, _, current_path = current_path.rpartition(":")
|
|
11
|
+
|
|
12
|
+
current_path = current_path.downcase
|
|
13
|
+
child = children.find{|x| x.id and x.id.downcase == current_path}
|
|
14
|
+
|
|
15
|
+
if !rest.empty? and child.class.method_defined? :find
|
|
16
|
+
child.find(rest)
|
|
17
|
+
else
|
|
18
|
+
child
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def find_or_create(path)
|
|
23
|
+
child = find(path)
|
|
24
|
+
|
|
25
|
+
if !child
|
|
26
|
+
# check if path should create implicit informal proposal
|
|
27
|
+
# see https://github.com/lutaml/expressir/issues/50
|
|
28
|
+
rest, _, current_path = path.rpartition(".")
|
|
29
|
+
|
|
30
|
+
if !rest.empty?
|
|
31
|
+
child = find(rest)
|
|
32
|
+
else
|
|
33
|
+
child = self
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
if child.class.method_defined? :informal_propositions
|
|
37
|
+
# ignore prefix
|
|
38
|
+
_, _, current_path = current_path.rpartition(":")
|
|
39
|
+
|
|
40
|
+
# match informal proposition id
|
|
41
|
+
informal_proposition_id = current_path.match(/^IP\d+$/).to_a[0]
|
|
42
|
+
|
|
43
|
+
if informal_proposition_id
|
|
44
|
+
# create implicit informal proposition
|
|
45
|
+
informal_proposition = Model::InformalProposition.new({
|
|
46
|
+
id: informal_proposition_id
|
|
47
|
+
})
|
|
48
|
+
informal_proposition.parent = child
|
|
49
|
+
|
|
50
|
+
child.informal_propositions ||= []
|
|
51
|
+
child.informal_propositions << informal_proposition
|
|
52
|
+
|
|
53
|
+
informal_proposition
|
|
54
|
+
end
|
|
8
55
|
end
|
|
56
|
+
else
|
|
57
|
+
child
|
|
9
58
|
end
|
|
10
59
|
end
|
|
11
60
|
|
data/lib/expressir/model/type.rb
CHANGED
|
@@ -6,17 +6,25 @@ module Expressir
|
|
|
6
6
|
|
|
7
7
|
attr_accessor :type
|
|
8
8
|
attr_accessor :where
|
|
9
|
+
attr_accessor :informal_propositions
|
|
9
10
|
|
|
10
11
|
def initialize(options = {})
|
|
11
12
|
@id = options[:id]
|
|
12
13
|
|
|
13
14
|
@type = options[:type]
|
|
14
15
|
@where = options[:where]
|
|
16
|
+
@informal_propositions = options[:informal_propositions]
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
def children
|
|
18
20
|
items = []
|
|
21
|
+
items.push(*[
|
|
22
|
+
*if @type.instance_of? Expressir::Model::Types::Enumeration
|
|
23
|
+
@type.items
|
|
24
|
+
end
|
|
25
|
+
])
|
|
19
26
|
items.push(*@where) if @where
|
|
27
|
+
items.push(*@informal_propositions) if @informal_propositions
|
|
20
28
|
items
|
|
21
29
|
end
|
|
22
30
|
end
|
data/lib/expressir/version.rb
CHANGED
|
@@ -4,24 +4,34 @@ an embedded remark including the newline character; therefore, embedded remarks
|
|
|
4
4
|
several physical lines.
|
|
5
5
|
*)
|
|
6
6
|
--"remark_schema" The tail remark is written at the end of a physical line.
|
|
7
|
+
--"remark_schema" UTF8 test: Příliš žluťoučký kůň úpěl ďábelské ódy.
|
|
7
8
|
|
|
8
9
|
--"remark_schema" universal scope - schema before
|
|
9
10
|
|
|
10
11
|
SCHEMA remark_schema;
|
|
11
12
|
|
|
12
13
|
CONSTANT remark_constant : STRING := 'xxx'; END_CONSTANT;
|
|
13
|
-
TYPE remark_type = ENUMERATION OF (remark_enumeration_item);
|
|
14
|
+
TYPE remark_type = ENUMERATION OF (remark_enumeration_item);
|
|
15
|
+
WHERE WR1 : TRUE;
|
|
16
|
+
--"WR1" type scope - type where
|
|
17
|
+
--"IP1" type scope - type informal proposition
|
|
18
|
+
--"wr:WR1" type scope - type where, with prefix
|
|
19
|
+
--"ip:IP1" type scope - type informal proposition, with prefix
|
|
20
|
+
END_TYPE;
|
|
14
21
|
ENTITY remark_entity;
|
|
15
22
|
remark_attribute : STRING;
|
|
16
23
|
DERIVE remark_derived_attribute : STRING := 'xxx';
|
|
17
24
|
INVERSE remark_inverse_attribute : remark_entity FOR remark_attribute;
|
|
18
25
|
UNIQUE remark_unique : remark_attribute;
|
|
19
|
-
WHERE
|
|
26
|
+
WHERE WR1 : TRUE;
|
|
20
27
|
--"remark_attribute" entity scope - entity attribute
|
|
21
28
|
--"remark_derived_attribute" entity scope - entity derived attribute
|
|
22
29
|
--"remark_inverse_attribute" entity scope - entity inverse attribute
|
|
23
30
|
--"remark_unique" entity scope - entity unique
|
|
24
|
-
--"
|
|
31
|
+
--"WR1" entity scope - entity where
|
|
32
|
+
--"IP1" entity scope - entity informal proposition
|
|
33
|
+
--"wr:WR1" entity scope - entity where, with prefix
|
|
34
|
+
--"ip:IP1" entity scope - entity informal proposition, with prefix
|
|
25
35
|
END_ENTITY;
|
|
26
36
|
SUBTYPE_CONSTRAINT remark_subtype_constraint FOR remark_entity; END_SUBTYPE_CONSTRAINT;
|
|
27
37
|
FUNCTION remark_function(remark_parameter : STRING) : BOOLEAN;
|
|
@@ -39,7 +49,8 @@ FUNCTION remark_function(remark_parameter : STRING) : BOOLEAN;
|
|
|
39
49
|
);
|
|
40
50
|
--"remark_parameter" function scope - function parameter
|
|
41
51
|
--"remark_type" function scope - function type
|
|
42
|
-
--"remark_enumeration_item" function scope - function enumeration item
|
|
52
|
+
--"remark_type.remark_enumeration_item" function scope - function enumeration item
|
|
53
|
+
--"remark_enumeration_item" function scope - function enumeration item, on the same level as the type
|
|
43
54
|
--"remark_constant" function scope - function constant
|
|
44
55
|
--"remark_variable" function scope - function variable
|
|
45
56
|
END_FUNCTION;
|
|
@@ -58,7 +69,8 @@ PROCEDURE remark_procedure(remark_parameter : STRING);
|
|
|
58
69
|
);
|
|
59
70
|
--"remark_parameter" procedure scope - procedure parameter
|
|
60
71
|
--"remark_type" procedure scope - procedure type
|
|
61
|
-
--"remark_enumeration_item" procedure scope - procedure enumeration item
|
|
72
|
+
--"remark_type.remark_enumeration_item" procedure scope - procedure enumeration item
|
|
73
|
+
--"remark_enumeration_item" procedure scope - procedure enumeration item, on the same level as the type
|
|
62
74
|
--"remark_constant" procedure scope - procedure constant
|
|
63
75
|
--"remark_variable" procedure scope - procedure variable
|
|
64
76
|
END_PROCEDURE;
|
|
@@ -75,71 +87,103 @@ RULE remark_rule FOR (remark_entity);
|
|
|
75
87
|
remark_variable := QUERY(remark_query <* remark_variable | TRUE
|
|
76
88
|
--"remark_query" rule query scope - rule query
|
|
77
89
|
);
|
|
78
|
-
WHERE
|
|
90
|
+
WHERE WR1 : TRUE;
|
|
79
91
|
--"remark_type" rule scope - rule type
|
|
80
|
-
--"remark_enumeration_item" rule scope - rule enumeration item
|
|
92
|
+
--"remark_type.remark_enumeration_item" rule scope - rule enumeration item
|
|
93
|
+
--"remark_enumeration_item" rule scope - rule enumeration item, on the same level as the type
|
|
81
94
|
--"remark_constant" rule scope - rule constant
|
|
82
95
|
--"remark_variable" rule scope - rule variable
|
|
83
|
-
--"
|
|
96
|
+
--"WR1" rule scope - rule where
|
|
97
|
+
--"IP1" rule scope - rule informal proposition
|
|
98
|
+
--"wr:WR1" rule scope - rule where, with prefix
|
|
99
|
+
--"ip:IP1" rule scope - rule informal proposition, with prefix
|
|
84
100
|
END_RULE;
|
|
85
101
|
|
|
86
102
|
--"remark_constant" schema scope - constant
|
|
87
103
|
--"remark_type" schema scope - type
|
|
88
|
-
--"
|
|
104
|
+
--"remark_type.WR1" schema scope - type where
|
|
105
|
+
--"remark_type.IP1" schema scope - type informal proposition
|
|
106
|
+
--"remark_type.wr:WR1" schema scope - type where, with prefix
|
|
107
|
+
--"remark_type.ip:IP1" schema scope - type informal proposition, with prefix
|
|
108
|
+
--"remark_type.remark_enumeration_item" schema scope - enumeration item
|
|
109
|
+
--"remark_enumeration_item" schema scope - enumeration item, on the same level as the type
|
|
89
110
|
--"remark_entity" schema scope - entity
|
|
90
111
|
--"remark_entity.remark_attribute" schema scope - entity attribute
|
|
91
112
|
--"remark_entity.remark_derived_attribute" schema scope - entity derived attribute
|
|
92
113
|
--"remark_entity.remark_inverse_attribute" schema scope - entity inverse attribute
|
|
93
114
|
--"remark_entity.remark_unique" schema scope - entity unique
|
|
94
|
-
--"remark_entity.
|
|
115
|
+
--"remark_entity.WR1" schema scope - entity where
|
|
116
|
+
--"remark_entity.IP1" schema scope - entity informal proposition
|
|
117
|
+
--"remark_entity.wr:WR1" schema scope - entity where, with prefix
|
|
118
|
+
--"remark_entity.ip:IP1" schema scope - entity informal proposition, with prefix
|
|
95
119
|
--"remark_subtype_constraint" schema scope - subtype constraint
|
|
96
120
|
--"remark_function" schema scope - function
|
|
97
121
|
--"remark_function.remark_parameter" schema scope - function parameter
|
|
98
122
|
--"remark_function.remark_type" schema scope - function type
|
|
99
|
-
--"remark_function.remark_enumeration_item" schema scope - function enumeration item
|
|
123
|
+
--"remark_function.remark_type.remark_enumeration_item" schema scope - function enumeration item
|
|
124
|
+
--"remark_function.remark_enumeration_item" schema scope - function enumeration item, on the same level as the type
|
|
100
125
|
--"remark_function.remark_constant" schema scope - function constant
|
|
101
126
|
--"remark_function.remark_variable" schema scope - function variable
|
|
102
127
|
--"remark_procedure" schema scope - procedure
|
|
103
128
|
--"remark_procedure.remark_parameter" schema scope - procedure parameter
|
|
104
129
|
--"remark_procedure.remark_type" schema scope - procedure type
|
|
105
|
-
--"remark_procedure.remark_enumeration_item" schema scope - procedure enumeration item
|
|
130
|
+
--"remark_procedure.remark_type.remark_enumeration_item" schema scope - procedure enumeration item
|
|
131
|
+
--"remark_procedure.remark_enumeration_item" schema scope - procedure enumeration item, on the same level as the type
|
|
106
132
|
--"remark_procedure.remark_constant" schema scope - procedure constant
|
|
107
133
|
--"remark_procedure.remark_variable" schema scope - procedure variable
|
|
108
134
|
--"remark_rule" schema scope - rule
|
|
109
135
|
--"remark_rule.remark_type" schema scope - rule type
|
|
110
|
-
--"remark_rule.remark_enumeration_item" schema scope - rule enumeration item
|
|
136
|
+
--"remark_rule.remark_type.remark_enumeration_item" schema scope - rule enumeration item
|
|
137
|
+
--"remark_rule.remark_enumeration_item" schema scope - rule enumeration item, on the same level as the type
|
|
111
138
|
--"remark_rule.remark_constant" schema scope - rule constant
|
|
112
139
|
--"remark_rule.remark_variable" schema scope - rule variable
|
|
113
|
-
--"remark_rule.
|
|
140
|
+
--"remark_rule.WR1" schema scope - rule where
|
|
141
|
+
--"remark_rule.IP1" schema scope - rule informal proposition
|
|
142
|
+
--"remark_rule.wr:WR1" schema scope - rule where, with prefix
|
|
143
|
+
--"remark_rule.ip:IP1" schema scope - rule informal proposition, with prefix
|
|
114
144
|
|
|
115
145
|
END_SCHEMA;
|
|
116
146
|
|
|
117
147
|
--"remark_schema" universal scope - schema
|
|
118
148
|
--"remark_schema.remark_constant" universal scope - constant
|
|
119
149
|
--"remark_schema.remark_type" universal scope - type
|
|
120
|
-
--"remark_schema.
|
|
150
|
+
--"remark_schema.remark_type.WR1" universal scope - type where
|
|
151
|
+
--"remark_schema.remark_type.IP1" universal scope - type informal proposition
|
|
152
|
+
--"remark_schema.remark_type.wr:WR1" universal scope - type where, with prefix
|
|
153
|
+
--"remark_schema.remark_type.ip:IP1" universal scope - type informal proposition, with prefix
|
|
154
|
+
--"remark_schema.remark_type.remark_enumeration_item" universal scope - enumeration item
|
|
155
|
+
--"remark_schema.remark_enumeration_item" universal scope - enumeration item, on the same level as the type
|
|
121
156
|
--"remark_schema.remark_entity" universal scope - entity
|
|
122
157
|
--"remark_schema.remark_entity.remark_attribute" universal scope - entity attribute
|
|
123
158
|
--"remark_schema.remark_entity.remark_derived_attribute" universal scope - entity derived attribute
|
|
124
159
|
--"remark_schema.remark_entity.remark_inverse_attribute" universal scope - entity inverse attribute
|
|
125
160
|
--"remark_schema.remark_entity.remark_unique" universal scope - entity unique
|
|
126
|
-
--"remark_schema.remark_entity.
|
|
161
|
+
--"remark_schema.remark_entity.WR1" universal scope - entity where
|
|
162
|
+
--"remark_schema.remark_entity.IP1" universal scope - entity informal proposition
|
|
163
|
+
--"remark_schema.remark_entity.wr:WR1" universal scope - entity where, with prefix
|
|
164
|
+
--"remark_schema.remark_entity.ip:IP1" universal scope - entity informal proposition, with prefix
|
|
127
165
|
--"remark_schema.remark_subtype_constraint" universal scope - subtype constraint
|
|
128
166
|
--"remark_schema.remark_function" universal scope - function
|
|
129
167
|
--"remark_schema.remark_function.remark_parameter" universal scope - function parameter
|
|
130
168
|
--"remark_schema.remark_function.remark_type" universal scope - function type
|
|
131
|
-
--"remark_schema.remark_function.remark_enumeration_item" universal scope - function enumeration item
|
|
169
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" universal scope - function enumeration item
|
|
170
|
+
--"remark_schema.remark_function.remark_enumeration_item" universal scope - function enumeration item, on the same level as the type
|
|
132
171
|
--"remark_schema.remark_function.remark_constant" universal scope - function constant
|
|
133
172
|
--"remark_schema.remark_function.remark_variable" universal scope - function variable
|
|
134
173
|
--"remark_schema.remark_procedure" universal scope - procedure
|
|
135
174
|
--"remark_schema.remark_procedure.remark_parameter" universal scope - procedure parameter
|
|
136
175
|
--"remark_schema.remark_procedure.remark_type" universal scope - procedure type
|
|
137
|
-
--"remark_schema.remark_procedure.remark_enumeration_item" universal scope - procedure enumeration item
|
|
176
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" universal scope - procedure enumeration item
|
|
177
|
+
--"remark_schema.remark_procedure.remark_enumeration_item" universal scope - procedure enumeration item, on the same level as the type
|
|
138
178
|
--"remark_schema.remark_procedure.remark_constant" universal scope - procedure constant
|
|
139
179
|
--"remark_schema.remark_procedure.remark_variable" universal scope - procedure variable
|
|
140
180
|
--"remark_schema.remark_rule" universal scope - rule
|
|
141
181
|
--"remark_schema.remark_rule.remark_type" universal scope - rule type
|
|
142
|
-
--"remark_schema.remark_rule.remark_enumeration_item" universal scope - rule enumeration item
|
|
182
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" universal scope - rule enumeration item
|
|
183
|
+
--"remark_schema.remark_rule.remark_enumeration_item" universal scope - rule enumeration item, on the same level as the type
|
|
143
184
|
--"remark_schema.remark_rule.remark_constant" universal scope - rule constant
|
|
144
185
|
--"remark_schema.remark_rule.remark_variable" universal scope - rule variable
|
|
145
|
-
--"remark_schema.remark_rule.
|
|
186
|
+
--"remark_schema.remark_rule.WR1" universal scope - rule where
|
|
187
|
+
--"remark_schema.remark_rule.IP1" universal scope - rule informal proposition
|
|
188
|
+
--"remark_schema.remark_rule.wr:WR1" universal scope - rule where, with prefix
|
|
189
|
+
--"remark_schema.remark_rule.ip:IP1" universal scope - rule informal proposition, with prefix
|
|
@@ -3,6 +3,8 @@ CONSTANT
|
|
|
3
3
|
remark_constant : STRING := 'xxx';
|
|
4
4
|
END_CONSTANT;
|
|
5
5
|
TYPE remark_type = ENUMERATION OF (remark_enumeration_item);
|
|
6
|
+
WHERE
|
|
7
|
+
WR1 : TRUE;
|
|
6
8
|
END_TYPE;
|
|
7
9
|
|
|
8
10
|
ENTITY remark_entity;
|
|
@@ -14,7 +16,7 @@ ENTITY remark_entity;
|
|
|
14
16
|
UNIQUE
|
|
15
17
|
remark_unique : remark_attribute;
|
|
16
18
|
WHERE
|
|
17
|
-
|
|
19
|
+
WR1 : TRUE;
|
|
18
20
|
END_ENTITY;
|
|
19
21
|
|
|
20
22
|
SUBTYPE_CONSTRAINT remark_subtype_constraint FOR remark_entity;
|
|
@@ -85,7 +87,7 @@ RULE remark_rule FOR (remark_entity);
|
|
|
85
87
|
--"remark_query" rule query scope - rule query
|
|
86
88
|
);
|
|
87
89
|
WHERE
|
|
88
|
-
|
|
90
|
+
WR1 : TRUE;
|
|
89
91
|
END_RULE;
|
|
90
92
|
END_SCHEMA;
|
|
91
93
|
(*"remark_schema"
|
|
@@ -94,14 +96,29 @@ an embedded remark including the newline character; therefore, embedded remarks
|
|
|
94
96
|
several physical lines.
|
|
95
97
|
*)
|
|
96
98
|
--"remark_schema" The tail remark is written at the end of a physical line.
|
|
99
|
+
--"remark_schema" UTF8 test: Příliš žluťoučký kůň úpěl ďábelské ódy.
|
|
97
100
|
--"remark_schema" universal scope - schema before
|
|
98
101
|
--"remark_schema" universal scope - schema
|
|
99
102
|
--"remark_schema.remark_constant" schema scope - constant
|
|
100
103
|
--"remark_schema.remark_constant" universal scope - constant
|
|
101
104
|
--"remark_schema.remark_type" schema scope - type
|
|
102
105
|
--"remark_schema.remark_type" universal scope - type
|
|
103
|
-
--"remark_schema.remark_enumeration_item" schema scope - enumeration item
|
|
104
|
-
--"remark_schema.remark_enumeration_item"
|
|
106
|
+
--"remark_schema.remark_type.remark_enumeration_item" schema scope - enumeration item
|
|
107
|
+
--"remark_schema.remark_type.remark_enumeration_item" schema scope - enumeration item, on the same level as the type
|
|
108
|
+
--"remark_schema.remark_type.remark_enumeration_item" universal scope - enumeration item
|
|
109
|
+
--"remark_schema.remark_type.remark_enumeration_item" universal scope - enumeration item, on the same level as the type
|
|
110
|
+
--"remark_schema.remark_type.WR1" type scope - type where
|
|
111
|
+
--"remark_schema.remark_type.WR1" type scope - type where, with prefix
|
|
112
|
+
--"remark_schema.remark_type.WR1" schema scope - type where
|
|
113
|
+
--"remark_schema.remark_type.WR1" schema scope - type where, with prefix
|
|
114
|
+
--"remark_schema.remark_type.WR1" universal scope - type where
|
|
115
|
+
--"remark_schema.remark_type.WR1" universal scope - type where, with prefix
|
|
116
|
+
--"remark_schema.remark_type.IP1" type scope - type informal proposition
|
|
117
|
+
--"remark_schema.remark_type.IP1" type scope - type informal proposition, with prefix
|
|
118
|
+
--"remark_schema.remark_type.IP1" schema scope - type informal proposition
|
|
119
|
+
--"remark_schema.remark_type.IP1" schema scope - type informal proposition, with prefix
|
|
120
|
+
--"remark_schema.remark_type.IP1" universal scope - type informal proposition
|
|
121
|
+
--"remark_schema.remark_type.IP1" universal scope - type informal proposition, with prefix
|
|
105
122
|
--"remark_schema.remark_entity" schema scope - entity
|
|
106
123
|
--"remark_schema.remark_entity" universal scope - entity
|
|
107
124
|
--"remark_schema.remark_entity.remark_attribute" entity scope - entity attribute
|
|
@@ -116,9 +133,18 @@ several physical lines.
|
|
|
116
133
|
--"remark_schema.remark_entity.remark_unique" entity scope - entity unique
|
|
117
134
|
--"remark_schema.remark_entity.remark_unique" schema scope - entity unique
|
|
118
135
|
--"remark_schema.remark_entity.remark_unique" universal scope - entity unique
|
|
119
|
-
--"remark_schema.remark_entity.
|
|
120
|
-
--"remark_schema.remark_entity.
|
|
121
|
-
--"remark_schema.remark_entity.
|
|
136
|
+
--"remark_schema.remark_entity.WR1" entity scope - entity where
|
|
137
|
+
--"remark_schema.remark_entity.WR1" entity scope - entity where, with prefix
|
|
138
|
+
--"remark_schema.remark_entity.WR1" schema scope - entity where
|
|
139
|
+
--"remark_schema.remark_entity.WR1" schema scope - entity where, with prefix
|
|
140
|
+
--"remark_schema.remark_entity.WR1" universal scope - entity where
|
|
141
|
+
--"remark_schema.remark_entity.WR1" universal scope - entity where, with prefix
|
|
142
|
+
--"remark_schema.remark_entity.IP1" entity scope - entity informal proposition
|
|
143
|
+
--"remark_schema.remark_entity.IP1" entity scope - entity informal proposition, with prefix
|
|
144
|
+
--"remark_schema.remark_entity.IP1" schema scope - entity informal proposition
|
|
145
|
+
--"remark_schema.remark_entity.IP1" schema scope - entity informal proposition, with prefix
|
|
146
|
+
--"remark_schema.remark_entity.IP1" universal scope - entity informal proposition
|
|
147
|
+
--"remark_schema.remark_entity.IP1" universal scope - entity informal proposition, with prefix
|
|
122
148
|
--"remark_schema.remark_subtype_constraint" schema scope - subtype constraint
|
|
123
149
|
--"remark_schema.remark_subtype_constraint" universal scope - subtype constraint
|
|
124
150
|
--"remark_schema.remark_function" schema scope - function
|
|
@@ -129,9 +155,12 @@ several physical lines.
|
|
|
129
155
|
--"remark_schema.remark_function.remark_type" function scope - function type
|
|
130
156
|
--"remark_schema.remark_function.remark_type" schema scope - function type
|
|
131
157
|
--"remark_schema.remark_function.remark_type" universal scope - function type
|
|
132
|
-
--"remark_schema.remark_function.remark_enumeration_item" function scope - function enumeration item
|
|
133
|
-
--"remark_schema.remark_function.remark_enumeration_item"
|
|
134
|
-
--"remark_schema.remark_function.remark_enumeration_item"
|
|
158
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" function scope - function enumeration item
|
|
159
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" function scope - function enumeration item, on the same level as the type
|
|
160
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" schema scope - function enumeration item
|
|
161
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" schema scope - function enumeration item, on the same level as the type
|
|
162
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" universal scope - function enumeration item
|
|
163
|
+
--"remark_schema.remark_function.remark_type.remark_enumeration_item" universal scope - function enumeration item, on the same level as the type
|
|
135
164
|
--"remark_schema.remark_function.remark_constant" function scope - function constant
|
|
136
165
|
--"remark_schema.remark_function.remark_constant" schema scope - function constant
|
|
137
166
|
--"remark_schema.remark_function.remark_constant" universal scope - function constant
|
|
@@ -146,9 +175,12 @@ several physical lines.
|
|
|
146
175
|
--"remark_schema.remark_procedure.remark_type" procedure scope - procedure type
|
|
147
176
|
--"remark_schema.remark_procedure.remark_type" schema scope - procedure type
|
|
148
177
|
--"remark_schema.remark_procedure.remark_type" universal scope - procedure type
|
|
149
|
-
--"remark_schema.remark_procedure.remark_enumeration_item" procedure scope - procedure enumeration item
|
|
150
|
-
--"remark_schema.remark_procedure.remark_enumeration_item"
|
|
151
|
-
--"remark_schema.remark_procedure.remark_enumeration_item"
|
|
178
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" procedure scope - procedure enumeration item
|
|
179
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" procedure scope - procedure enumeration item, on the same level as the type
|
|
180
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" schema scope - procedure enumeration item
|
|
181
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" schema scope - procedure enumeration item, on the same level as the type
|
|
182
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" universal scope - procedure enumeration item
|
|
183
|
+
--"remark_schema.remark_procedure.remark_type.remark_enumeration_item" universal scope - procedure enumeration item, on the same level as the type
|
|
152
184
|
--"remark_schema.remark_procedure.remark_constant" procedure scope - procedure constant
|
|
153
185
|
--"remark_schema.remark_procedure.remark_constant" schema scope - procedure constant
|
|
154
186
|
--"remark_schema.remark_procedure.remark_constant" universal scope - procedure constant
|
|
@@ -160,15 +192,27 @@ several physical lines.
|
|
|
160
192
|
--"remark_schema.remark_rule.remark_type" rule scope - rule type
|
|
161
193
|
--"remark_schema.remark_rule.remark_type" schema scope - rule type
|
|
162
194
|
--"remark_schema.remark_rule.remark_type" universal scope - rule type
|
|
163
|
-
--"remark_schema.remark_rule.remark_enumeration_item" rule scope - rule enumeration item
|
|
164
|
-
--"remark_schema.remark_rule.remark_enumeration_item"
|
|
165
|
-
--"remark_schema.remark_rule.remark_enumeration_item"
|
|
195
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" rule scope - rule enumeration item
|
|
196
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" rule scope - rule enumeration item, on the same level as the type
|
|
197
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" schema scope - rule enumeration item
|
|
198
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" schema scope - rule enumeration item, on the same level as the type
|
|
199
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" universal scope - rule enumeration item
|
|
200
|
+
--"remark_schema.remark_rule.remark_type.remark_enumeration_item" universal scope - rule enumeration item, on the same level as the type
|
|
166
201
|
--"remark_schema.remark_rule.remark_constant" rule scope - rule constant
|
|
167
202
|
--"remark_schema.remark_rule.remark_constant" schema scope - rule constant
|
|
168
203
|
--"remark_schema.remark_rule.remark_constant" universal scope - rule constant
|
|
169
204
|
--"remark_schema.remark_rule.remark_variable" rule scope - rule variable
|
|
170
205
|
--"remark_schema.remark_rule.remark_variable" schema scope - rule variable
|
|
171
206
|
--"remark_schema.remark_rule.remark_variable" universal scope - rule variable
|
|
172
|
-
--"remark_schema.remark_rule.
|
|
173
|
-
--"remark_schema.remark_rule.
|
|
174
|
-
--"remark_schema.remark_rule.
|
|
207
|
+
--"remark_schema.remark_rule.WR1" rule scope - rule where
|
|
208
|
+
--"remark_schema.remark_rule.WR1" rule scope - rule where, with prefix
|
|
209
|
+
--"remark_schema.remark_rule.WR1" schema scope - rule where
|
|
210
|
+
--"remark_schema.remark_rule.WR1" schema scope - rule where, with prefix
|
|
211
|
+
--"remark_schema.remark_rule.WR1" universal scope - rule where
|
|
212
|
+
--"remark_schema.remark_rule.WR1" universal scope - rule where, with prefix
|
|
213
|
+
--"remark_schema.remark_rule.IP1" rule scope - rule informal proposition
|
|
214
|
+
--"remark_schema.remark_rule.IP1" rule scope - rule informal proposition, with prefix
|
|
215
|
+
--"remark_schema.remark_rule.IP1" schema scope - rule informal proposition
|
|
216
|
+
--"remark_schema.remark_rule.IP1" schema scope - rule informal proposition, with prefix
|
|
217
|
+
--"remark_schema.remark_rule.IP1" universal scope - rule informal proposition
|
|
218
|
+
--"remark_schema.remark_rule.IP1" universal scope - rule informal proposition, with prefix
|