Noir::ScalaCalleeExtractor
Inherits Noir::CalleeExtractorBase
Constants
BARE_CALL_REGEX = /(?<![.\w])([A-Za-z_]\w*)\s*(?:\(|\{)/
RECEIVER_CALL_REGEX = /([A-Za-z_]\w*(?:\s*\.\s*[A-Za-z_]\w*)+)\s*(?:\(|\{)/
RESERVED = Set {"abstract", "case", "catch", "class", "def", "do", "else", "extends", "false", "final", "finally", "for", "forSome", "if", "implicit", "import", "lazy", "match", "new", "null", "object", "override", "package", "private", "protected", "return", "sealed", "super", "this", "throw", "trait", "try", "true", "type", "val", "var", "while", "with", "yield", "println", "Some", "None", "Nil"}